git-repack: avoid redirecting stderr into git-pack-objects
authorJunio C Hamano <junkio@cox.net>
Thu, 13 Jul 2006 06:00:46 +0000 (23:00 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 13 Jul 2006 06:00:46 +0000 (23:00 -0700)
commita72f9373c01f9bbebd14af7cec6ff0de4c27c578
treed75072db04dc523010c087a3e8692696df9eb2e8
parent869659a6a1010ea0943329113a1de41c38bd4a00
git-repack: avoid redirecting stderr into git-pack-objects

We are trying to catch error condition of git-rev-list and cause
the downstream pack-objects to barf, but if you run rev-list
with anything that mucks with its stderr (such as GIT_TRACE),
any stderr output would cause the pipeline to fail.

[jc: originally from Matthias Lederhofer, with a reworded error message.]

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-repack.sh