Hi, On Tue, 20 Feb 2007, Junio C Hamano wrote: > Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes: > > > Matthias Lederhofer noticed that `diff -B` did not pick up on diff > > colournig. > > sp.? s/colournig/colouring/ > > -static void copy_file(int prefix, const char *data, int size) > > +static void copy_file(int prefix, const char *data, int size, > > + const char *set, const char *reset) > > ... > > if (!nl_just_seen) > > - printf("\n\\ No newline at end of file\n"); > > + printf("%s\n\\ No newline at end of file\n", reset); > > } > > Are you sure about this one? If preimage lacked terminating LF and the > postimage has it, then don't you want to see "\ No..." as an addition? Yes, you're right. But I tried to imitate what git-diff does without -B. Ciao, Dscho - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html