Phillip Wood writes:
> + export GIT_SEQUENCE_EDITOR GIT_EDITOR &&
> + test_must_fail git rebase $mode b &&
> + echo x>a &&
"echo x >a"
Phillip Wood writes:
> @@ -31,17 +63,40 @@ mkdir -p "$HOOKDIR"
> echo "#!$SHELL_PATH" > "$HOOK"
> cat >> "$HOOK" <<'EOF'
>
> +GIT_DIR=$(git rev-parse --git-dir)
> +if test -d "$GIT_DIR/rebase-merge"
> +then
> + rebasing=1
> +else
> + rebasing=0
> +fi
> +
> +get_last_cmd () {
> + tail -n1 "
From: Phillip Wood
Check that cherry-pick and rebase call the 'prepare-commit-msg' hook
correctly. The expected values for the hook arguments are taken to
match the current master branch. I think there is scope for improving
the arguments passed so they make a bit more sense - for instance
cherry
3 matches
Mail list logo