summaryrefslogtreecommitdiff
path: root/test-ctype.c
diff options
context:
space:
mode:
authorLibravatar Clemens Buchacher <drizzd@aon.at>2012-04-14 21:04:48 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-04-15 13:33:31 -0700
commit6d5b93f29f5362b9b84954d87684705227984f9e (patch)
tree14a0838e5657c9e29630b057d99ec4f460553743 /test-ctype.c
parentGit 1.7.10 (diff)
downloadtgif-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 'test-ctype.c')
0 files changed, 0 insertions, 0 deletions