diff --git a/t/t7005-editor.sh b/t/t7005-editor.sh index 28643b0da4..b21ced1bc2 100755 --- a/t/t7005-editor.sh +++ b/t/t7005-editor.sh @@ -7,6 +7,7 @@ test_description='GIT_EDITOR, core.editor, and stuff' for i in GIT_EDITOR core_editor EDITOR VISUAL vi do cat >e-$i.sh <<-EOF + #!/bin/sh echo "Edited by $i" >"\$1" EOF chmod +x e-$i.sh