From: Jeff King Date: Sun, 05 Aug 2007 10:19:53 GMT Subject: Re: git-gui console app ? Message-ID: <20070805101953.GI12507@coredump.intra.peff.net> In-Reply-To: <20070804123834.GA3036@Mac2.local> On Sat, Aug 04, 2007 at 02:38:34PM +0200, Erik Colson wrote: > > By default, it will show the changes between your working tree and the > > index (i.e., changed but not updated). You can show the diff of "updated > > but not commited" with "git-diff --cached". > > yep that is the info I would like to browse in a way git-gui does it... > showing a list of the files in the diff, and letting the user select a > file to show the part of the diff for that file. Ah, I see. There is a status mode for tig (tig -S), but you can't jump to the diff of a particular file. It shouldn't be that difficult to add for somebody familiar with the tig codebase, but I am not such a somebody. Jonas, am I right that this should be a one-liner? If you can point me in the right direction, I can try to take a closer look, but I'm having trouble following the code. -Peff