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>
This commit is contained in:

committed by
Junio C Hamano

parent
eb0bcd0fbe
commit
97a449ee30
@ -8,6 +8,7 @@ test_description='Test commit notes'
|
|||||||
. ./test-lib.sh
|
. ./test-lib.sh
|
||||||
|
|
||||||
cat > fake_editor.sh << \EOF
|
cat > fake_editor.sh << \EOF
|
||||||
|
#!/bin/sh
|
||||||
echo "$MSG" > "$1"
|
echo "$MSG" > "$1"
|
||||||
echo "$MSG" >& 2
|
echo "$MSG" >& 2
|
||||||
EOF
|
EOF
|
||||||
|
Reference in New Issue
Block a user