Hi! * Jeff King [12 III 2008 22:42]:
The hook doesn't run properly under Solaris /bin/sh. Let's use the SHELL_PATH the user told us about already instead.
[...]
--- a/t/t7505-prepare-commit-msg-hook.sh +++ b/t/t7505-prepare-commit-msg-hook.sh @@ -25,7 +25,8 @@ export FAKE_EDITOR HOOKDIR="$(git rev-parse --git-dir)/hooks" HOOK="$HOOKDIR/prepare-commit-msg" mkdir -p "$HOOKDIR" -cat > "$HOOK" <<'EOF' +echo "#!$SHELL_PATH" > "$HOOK" +cat >> "$HOOK" <<'EOF' #!/bin/sh
^^^^^^^^^ The above line should be removed in my humble opinion. BR, /Adam -- .:. Adam Piatyszek (ediap) .:.....................................:. .:. ediap@xxxxxxxxxxxxxxxxxxxxx .:................................:. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html