Git development
 help / color / mirror / Atom feed
* Odd "git diff" breakage
@ 2014-03-31 18:05 Linus Torvalds
  2014-03-31 18:30 ` Junio C Hamano
  2014-03-31 18:47 ` [PATCH] diff-no-index: correctly diagnose error return from diff_opt_parse() Junio C Hamano
  0 siblings, 2 replies; 6+ messages in thread
From: Linus Torvalds @ 2014-03-31 18:05 UTC (permalink / raw)
  To: Git Mailing List, Junio C Hamano

I hit this oddity when not remembering the right syntax for --color-words..

Try this (outside of a git repository):

   touch a b
   git diff -u --color=words a b

and watch it scroll (infinitely) printing out

   error: option `color' expects "always", "auto", or "never"

forever.

I haven't tried to root-cause it, since I'm supposed to be merging stuff..

                Linus

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

end of thread, other threads:[~2014-03-31 19:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-31 18:05 Odd "git diff" breakage Linus Torvalds
2014-03-31 18:30 ` Junio C Hamano
2014-03-31 18:35   ` Linus Torvalds
2014-03-31 18:38   ` Junio C Hamano
2014-03-31 18:47 ` [PATCH] diff-no-index: correctly diagnose error return from diff_opt_parse() Junio C Hamano
2014-03-31 19:14   ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox