Skip to content

Commit

Permalink
t3301-notes: insert a shbang line in ./fake_editor.sh
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Sixt authored and Junio C Hamano committed Feb 25, 2010
1 parent eb0bcd0 commit 97a449e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/t3301-notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 97a449e

Please sign in to comment.