From: Johannes Sixt Date: Thu, 25 Feb 2010 10:39:50 +0000 (+0100) Subject: t3301-notes: insert a shbang line in ./fake_editor.sh X-Git-Tag: v1.7.0.1~3^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=97a449ee3031e8d128190b7f53a21c7688f73ec9;p=thirdparty%2Fgit.git t3301-notes: insert a shbang line in ./fake_editor.sh This is required on Windows because git-notes is now a built-in rather than a shell script. Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano --- diff --git a/t/t3301-notes.sh b/t/t3301-notes.sh index 5d9604b815..714626d2d6 100755 --- a/t/t3301-notes.sh +++ b/t/t3301-notes.sh @@ -8,6 +8,7 @@ test_description='Test commit notes' . ./test-lib.sh cat > fake_editor.sh << \EOF +#!/bin/sh echo "$MSG" > "$1" echo "$MSG" >& 2 EOF