pre-receive - 1st push / rev-list didn't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am writing pre-receive hooks for commit validation. I use command
"git rev-list <from> <to>" to determine what am I pushing. I can
possibly pust more than one commit at a time.

If I am doing 1st ever push ; then <from> becomes "0" (40 times). How
do I determine what all commits I am pushing i this situations ?

Thx. Mahesh
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]