1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-16 06:03:44 +01:00
git/templates
Andy Parkins 72f627d2bc Fix potential command line overflow in hooks--update
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>
2007-02-13 09:33:09 -08:00
..
.gitignore
branches--
hooks--applypatch-msg
hooks--commit-msg
hooks--post-commit
hooks--post-update
hooks--pre-applypatch
hooks--pre-commit
hooks--pre-rebase
hooks--update Fix potential command line overflow in hooks--update 2007-02-13 09:33:09 -08:00
info--exclude
Makefile Assorted typo fixes 2007-02-03 21:49:54 -08:00
this--description