OSDN Git Service

Merge branch 'cb/cherry-pick-rev-path-confusion'
authorJunio C Hamano <gitster@pobox.com>
Fri, 27 Apr 2012 20:58:02 +0000 (13:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Apr 2012 20:58:02 +0000 (13:58 -0700)
The command line parser choked "git cherry-pick $name" when $name can be
both revision name and a pathname, even though $name can never be a path
in the context of the command.

The issue the patch addresses is real, but the way it is implemented felt
unnecessarily invasive a bit.  It may be cleaner for this caller to add
the "--" to the end of the argv_array it passes to setup_revisions().

By Clemens Buchacher
* cb/cherry-pick-rev-path-confusion:
  cherry-pick: do not expect file arguments

1  2 
builtin/revert.c
revision.c
revision.h

Simple merge
diff --cc revision.c
Simple merge
diff --cc revision.h
Simple merge