From: Nanako Shiraishi Date: Fri, 23 Jan 2009 08:28:09 GMT Subject: Re: RFC: git diff colorization idea Message-ID: <20090123172809.6117@nanako3.lavabit.com> In-Reply-To: <7vhc3q6evi.fsf@gitster.siamese.dyndns.org> Quoting Junio C Hamano : > If you were to go this route, I suspect that showing the unchanged part on > the preimage line in light gray might make sense, like: > > | _git_remote () > | { > |- local subcommands="add rm show prune update" > |+ local subcommands="add rename rm show prune" > | local subcommand=$(__git_find_subcommand "$subcommands")" > | if ... > > because there will be the same chars/words on the postimage line anyway. I think this makes a lot more sense than any of the screenshot WIncent prepared on his web pages, and it is a much easier output for users to spot which word is different by not coloring the unchanged word at all. -- Nanako Shiraishi http://ivory.ap.teacup.com/nanako3/