summaryrefslogtreecommitdiff
path: root/templates/hooks--pre-commit.sample
diff options
context:
space:
mode:
authorLibravatar Thomas Rast <trast@inf.ethz.ch>2013-04-04 22:41:42 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-04 14:49:56 -0700
commita749c0bbef068af339ea1ac8843f8ca307b3dd35 (patch)
tree6bdfaa123a656ba59456ed35d3e6629d40e7e09d /templates/hooks--pre-commit.sample
parentperl: redirect stderr to /dev/null instead of closing (diff)
downloadtgif-a749c0bbef068af339ea1ac8843f8ca307b3dd35.tar.xz
t9700: do not close STDERR
Much like the previous patch, this triggered an unrelated bug. Closing STDERR is not worth it anyway, as we risk writing die() and such to random files that happen to be subsequently opened on FD 2. Don't do it. Signed-off-by: Thomas Rast <trast@inf.ethz.ch> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--pre-commit.sample')
0 files changed, 0 insertions, 0 deletions