summaryrefslogtreecommitdiff
path: root/t/t3301-notes.sh
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2010-02-25 10:39:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-02-25 20:20:16 (GMT)
commit97a449ee3031e8d128190b7f53a21c7688f73ec9 (patch)
tree37785d29e73b93faa3628759b8ea6c441d796b84 /t/t3301-notes.sh
parenteb0bcd0fbe34befe7648a398efc7f4156b07da48 (diff)
downloadgit-97a449ee3031e8d128190b7f53a21c7688f73ec9.zip
git-97a449ee3031e8d128190b7f53a21c7688f73ec9.tar.gz
git-97a449ee3031e8d128190b7f53a21c7688f73ec9.tar.bz2
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>
Diffstat (limited to 't/t3301-notes.sh')
-rwxr-xr-xt/t3301-notes.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t3301-notes.sh b/t/t3301-notes.sh
index 5d9604b..714626d 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