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 <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Sixt committed
Feb 25, 2010 at 11:39 UTC
97a449ee3031e8d128190b7f53a21c7688f73ec9
1 file changed
+1
t/t3301-notes.sh
+1
@@ -8,6 +8,7 @@ test_description='Test commit notes'
8
. ./test-lib.sh
9
10
cat > fake_editor.sh << \EOF
11
+#!/bin/sh
12
echo "$MSG" > "$1"
13
echo "$MSG" >& 2
14
EOF