Revision 72f627d2bc860c560e4ea4ee172982b1d38ceca8 authored by Andy Parkins on 13 February 2007, 14:23:58 UTC, committed by Junio C Hamano on 13 February 2007, 17:33:09 UTC
In a repository with a large number of refs, the following command line
could easily overflow the command line size limitations

 git-rev-list $newref $(git-rev-parse --not --all)

Fortunately, git-rev-list already has the means to cope with this
situation with the --stdin switch

 git-rev-parse --not --all | git-rev-list --stdin $newref

Which is exactly what this patch does.

Signed-off-by: Andy Parkins <andyparkins@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent c2120e5
History
File Mode Size
sha1.c -rw-r--r-- 1.4 KB
sha1.h -rw-r--r-- 396 bytes
sha1ppc.S -rw-r--r-- 7.3 KB

back to top