]> git.ipfire.org Git - thirdparty/git.git/commit - git-mergetool--lib.sh
add shebang line to git-mergetool--lib.sh
authorJeff King <peff@peff.net>
Fri, 29 Jan 2010 10:37:23 +0000 (05:37 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Jan 2010 17:56:51 +0000 (09:56 -0800)
commit02e51243559334e821e85b05dbb358e52b7ba4e5
treeb241259c22c84e38488655db3af3b317cead9531
parent7b48c170931f35c07c3ce78023519846073152a1
add shebang line to git-mergetool--lib.sh

Even though this script is expected to be sourced instead of
executed on its own, the #!/bin/sh line provides simple
documentation about what format the file is in.

In particular, the lack of such a line was confusing the
valgrind support of our test scripts, which assumed that any
executable without a #!-line should be intercepted and run
through valgrind. So during valgrind-enabled tests, any
script sourcing this file actually sourced the valgrind
interception script instead.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-mergetool--lib.sh