t3301-notes: insert a shbang line in ./fake_editor.sh
authorJohannes Sixt <j6t@kdbg.org>
Thu, 25 Feb 2010 10:39:50 +0000 (11:39 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 25 Feb 2010 20:20:16 +0000 (12:20 -0800)
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>
t/t3301-notes.sh

index 5d9604b8155401a2e345a69a5d030cffd7d16818..714626d2d61ea95465b838595fe9b5e32b8f55b1 100755 (executable)
@@ -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