From: Felipe Contreras Date: Thu, 26 Nov 2009 19:11:59 +0000 (+0200) Subject: format-patch: fix parsing of "--" on the command line X-Git-Tag: v1.6.6-rc1~8^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/382da4023f155eabdda58ebd595a1e142408a56d?hp=382da4023f155eabdda58ebd595a1e142408a56d 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 -- the command still complains that 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 Signed-off-by: Junio C Hamano ---