diff options
| author | Felipe Contreras <felipe.contreras@gmail.com> | 2009-11-26 21:11:59 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2009-11-26 21:16:54 -0800 |
| commit | 382da4023f155eabdda58ebd595a1e142408a56d (patch) | |
| tree | fa952e18916b7632f12e8136d034423b5de18445 /gitweb/gitweb.perl | |
| parent | 78d553b7d7b269bb22ebd8b1198657c37484a3a0 (diff) | |
| download | git-382da4023f155eabdda58ebd595a1e142408a56d.tar.gz | |
format-patch: fix parsing of "--" on the command line
When given a pathspec that does not match any path in the current work
tree with an explicit "--":
git format-patch <commit> -- <path>
the command still complains that <path> does not exist in the current work
tree and the user needs to explicitly specify "--" and errors out. This
is because it incorrectly removes "--" from the command line arguments
that is later passed to setup_revisions().
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/gitweb.perl')
0 files changed, 0 insertions, 0 deletions
