is this a bug of git-diff?
- From
- eric liou <accwuya@gmail.com>
- Date
- May 15, 2013, 06:23 UTC
- Message-ID
- <CABwUO_X8oTzuJh8+v3Oqca2W4ht-cQRNGQ+a1DbEruq5jY+vgA@mail.gmail.com>
The output of git-diff is different from my expectation. It may skip some lines of context. For the case of the diff result attached here, a blank line and a line with a leading slash is skipped.
Please check out the attached files for details.
Thanks.
index 1ef2bf5..ef2206b 100644
--- a/t.c +++ b/t.c @@ -4,5 +4,6 @@ int a = 1; * 1 * 2 * 3 + * added */ int a = 1; /* * 1 * 2 * 3 * added */ int a = 1; /* * 1 * 2 * 3 */