Dear diary, on Thu, Jun 22, 2006 at 10:53:31PM CEST, I got a letter
where Linus Torvalds <[email protected]> said that...
> So in order to avoid a lot of blind git users, please apply this patch.
Great, since this also seems to make git diff more or less consistent
with cg diff in the colors choice.
> enum color_diff {
> - DIFF_PLAIN = 0,
> - DIFF_METAINFO = 1,
> - DIFF_FILE_OLD = 2,
> - DIFF_FILE_NEW = 3,
> + DIFF_RESET = 0,
> + DIFF_PLAIN = 1,
> + DIFF_METAINFO = 2,
> + DIFF_FRAGINFO = 3,
> + DIFF_FILE_OLD = 4,
> + DIFF_FILE_NEW = 5,
> };
Isn't manually numbering the enum choices somewhat pointless, though?
(Actually makes it more difficult to do changes in it later.)
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
A person is just about as big as the things that make them angry.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]