Re: is this a bug of git-diff?
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- May 15, 2013, 09:34 UTC
- Message-ID
- <vpqhai4y4b2.fsf@grenoble-inp.fr>
- In-Reply-To
- <CALWbr2z2jB53=2UsEneqymU2peiL4OW9Tyace_8BN3=1gA9jNg@mail.gmail.com>
Antoine Pelisse <apelisse@gmail.com> writes:
> On Wed, May 15, 2013 at 8:52 AM, eric liou <accwuya@gmail.com> wrote: >> 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/