Re: is this a bug of git-diff?

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

Re: is this a bug of git-diff?

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:57:15

Antoine Pelisse [off-list ref] writes:
On Wed, May 15, 2013 at 8:52 AM, eric liou [off-list ref] wrote:
quoted
Thank you for the quick reply.
But this line is not correct: "@@ -4,5 +4,6 @@ int a = 1;"
Antoine's answer is correct. In addition, I'd say that you may want to
enable color in the output to make it clearer (the @@ ... @@ part would
be colored, but not the function name):

  git config --global color.ui auto

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

Re: is this a bug of git-diff?

From: John Keeping <hidden>
Date: 2016-06-15 22:57:15

On Wed, May 15, 2013 at 11:34:41AM +0200, Matthieu Moy wrote:
Antoine's answer is correct. In addition, I'd say that you may want to
enable color in the output to make it clearer (the @@ ... @@ part would
be colored, but not the function name):

  git config --global color.ui auto
I wonder if that should be the default.  I've advised a lot of people to
turn it on and it seems to me that a user is much more likely to go
looking for a "turn color off" option than realise that color is an
option at all.

Re: is this a bug of git-diff?

From: Mike Hommey <hidden>
Date: 2016-06-15 22:57:15

On Wed, May 15, 2013 at 10:50:25AM +0100, John Keeping wrote:
On Wed, May 15, 2013 at 11:34:41AM +0200, Matthieu Moy wrote:
quoted
Antoine's answer is correct. In addition, I'd say that you may want to
enable color in the output to make it clearer (the @@ ... @@ part would
be colored, but not the function name):

  git config --global color.ui auto
I wonder if that should be the default.  I've advised a lot of people to
turn it on and it seems to me that a user is much more likely to go
looking for a "turn color off" option than realise that color is an
option at all.
+1. My settings have been there for so long that I thought it was the
default.

Mike
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help