t3301-notes: insert a shbang line in ./fake_editor.sh
PATCH 1/1 t3301-notes: insert a shbang line in ./fake_editor.sh
From: Johannes Sixt <[email protected]>
This is required on Windows because git-notes is now a built-in rather than a shell script.
Signed-off-by Johannes Sixt <[email protected]>
--- t/t3301-notes.sh | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
t/t3301-notes.sh +1 -0
@@ -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
Signature · 1 line
1.7.0.1285.g1a907.dirty
Quoted 6 lines · Johannes Sixt
From: Johannes Sixt <[email protected]>
This is required on Windows because git-notes is now a built-in rather than a shell script.
Signed-off-by Johannes Sixt <[email protected]>
Acked-by Johan Herland <[email protected]>
Signature · 2 lines
Johan Herland, <[email protected]> www.herland.net
t/t3301-notes.sh test_description='Test commit notes' · line 14
Quoted 12 lines · Johannes Sixt
t/t3301-notes.sh +1
-0@@ -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
Thanks.
Shouldn't that be "#!$SHELL_PATH", though?
Quoted 1 line · Junio C Hamano
Shouldn't that be "#!$SHELL_PATH", though?
It doesn't matter, but the change would be larger because we do not want to expand $MSG.
-- Hannes