diff options
author | Clemens Buchacher <drizzd@aon.at> | 2012-04-14 21:04:48 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-15 13:33:31 -0700 |
commit | 6d5b93f29f5362b9b84954d87684705227984f9e (patch) | |
tree | 14a0838e5657c9e29630b057d99ec4f460553743 /t/t4013/diff.diff-tree_--root_-r_initial | |
parent | Git 1.7.10 (diff) | |
download | tgif-6d5b93f29f5362b9b84954d87684705227984f9e.tar.xz |
cherry-pick: do not expect file arguments
If a commit-ish passed to cherry-pick or revert happens to have a file
of the same name, git complains that the argument is ambiguous and
advises to use '--'. To make things worse, the '--' argument is removed
by parse_options, und so passing '--' has no effect.
Instead, always interpret cherry-pick/revert arguments as revisions.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--root_-r_initial')
0 files changed, 0 insertions, 0 deletions