diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-04-11 15:06:52 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-11 09:54:25 -0700 |
commit | 21246dbb9e0af278bc671e32e45a6cae4ad38b6f (patch) | |
tree | 189bf00464a90b6bbd13efa2a186faccb17fe904 /Documentation/git-index-pack.txt | |
parent | remote-bzr: improve tag handling (diff) | |
download | tgif-21246dbb9e0af278bc671e32e45a6cae4ad38b6f.tar.xz |
cherry-pick: make sure all input objects are commits
When a single argument was a non-commit, the error message used to be:
fatal: BUG: expected exactly one commit from walk
For multiple arguments, when none of the arguments was a commit, the error was:
fatal: empty commit set passed
Finally, when some of the arguments were non-commits, we ignored those
arguments. Fix this bug and make sure all arguments are commits, and
for the first non-commit, error out with:
fatal: <name>: Can't cherry-pick a <type>
Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-index-pack.txt')
0 files changed, 0 insertions, 0 deletions