git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git format-patch --range-diff accepts non-quoted arguments (shouldn't it be?)
@ 2021-10-08  9:34 Bagas Sanjaya
  2021-10-08 18:10 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Bagas Sanjaya @ 2021-10-08  9:34 UTC (permalink / raw)
  To: Git Users


Hi,

I think it is rather odd that `git format-patch --range-diff` accepts 
<previous> argument without enclosed in quotes, since it is always 
multi-word (separated by space). E.g., below works:

     $ git format-patch <options> --range-diff=main..previous main..HEAD

but below returns nothing:

     $ git format-patch <options> --range-diff="main..previous main..HEAD"

Should the quoted <previous> argument to --range-diff be allowed, and 
forbid the unquoted counterpart?

-- 
An old man doll... just what I always wanted! - Clara

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-08 18:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-08  9:34 git format-patch --range-diff accepts non-quoted arguments (shouldn't it be?) Bagas Sanjaya
2021-10-08 18:10 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).