summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3524b28)
raw | patch | inline | side by side (parent: 3524b28)
author | Björn Steinbrink <B.Steinbrink@gmx.de> | |
Wed, 31 Oct 2007 02:20:31 +0000 (03:20 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 31 Oct 2007 04:28:44 +0000 (21:28 -0700) |
git-cherry-pick doesn't support a strategy paramter, so don't pass one.
This means that --strategy for interactive rebases is a no-op for
anything but merge commits, but that's still better than being broken. A
correct fix would probably need to port the --merge behaviour from plain
git-rebase.sh, but I have no clue how to integrate that cleanly.
Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This means that --strategy for interactive rebases is a no-op for
anything but merge commits, but that's still better than being broken. A
correct fix would probably need to port the --merge behaviour from plain
git-rebase.sh, but I have no clue how to integrate that cleanly.
Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--interactive.sh | patch | blob | history |
index ebc67e515de15f817a9c7f036e0c5069dd8f32ec..db04057653fb896036454001499a1bdeb06907a6 100755 (executable)
sha1=$(git rev-parse --short $sha1)
output warn Fast forward to $sha1
else
- output git cherry-pick $STRATEGY "$@"
+ output git cherry-pick "$@"
fi
}
fi
;;
*)
- output git cherry-pick $STRATEGY "$@" ||
+ output git cherry-pick "$@" ||
die_with_patch $sha1 "Could not pick $sha1"
esac
esac