mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
In msys, chmod does not work. Using the shebang makes it "executable".
Thanks to Dscho for figuring out the work around. Signed-off-by: Mike Pape <dotzenlabs@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user