git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git diff flags
@ 2010-05-07 19:41 Eli Barzilay
  2010-05-08  4:06 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Barzilay @ 2010-05-07 19:41 UTC (permalink / raw)
  To: git

There's something strange with how `git diff' parses its flags:

  git diff --some-bogus-flag
  --> complains as expected

  git diff --follow
  --> works but there's no mention of this in the man page, and it
      doesn't look like it's doing anything

  git diff -C -M
  --> works as expected too

  git diff -CM
  --> doesn't say anything (but it does exit with an error code)

  git diff -CM --I-can-write-anything here!
  --> does the same

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

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

end of thread, other threads:[~2010-05-08  4:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07 19:41 git diff flags Eli Barzilay
2010-05-08  4:06 ` Jeff King
2010-05-08  4:24   ` Jeff King

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).