1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-04 22:06:45 +02:00

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:
Johannes Sixt 2010-02-25 11:39:50 +01:00 committed by Junio C Hamano
parent eb0bcd0fbe
commit 97a449ee30

View File

@ -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