On Tue, Feb 12, 2008 at 11:44:07PM -0200, André Goddard Rosa wrote:Maybe you want something like this? This uses kdiff3 to compare two full commits, by extracting the changed files into a temporary location. Modifying it so it can work with path limiters and/or take arguments exactly like 'git diff' is left as an excercise for the reader. -bcd #!/bin/sh -e # usage: git-kdiff3 commit1 commit2 SUBDIRECTORY_OK=1 . git-sh-setup cd_to_toplevel O=".git-kdiff3-tmp-$$" list="$O/list" trap "rm -rf $O" 0 mkdir $O git diff --name-only -z $1 $2 > $list cat $list | xargs -0 git archive --prefix=a/ $1 | tar xf - -C $O cat $list | xargs -0 git archive --prefix=b/ $2 | tar xf - -C $O kdiff3 $O/a $O/b - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Linus Torvalds | Linux 2.6.21 |
| debian developer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
| Greg Kroah-Hartman | [PATCH 002/196] Chinese: rephrase English introduction in HOWTO |
git: | |
| Andrew Morton | Re: [Bugme-new] [Bug 12877] New: tg3: eth0 transit timed out, resetting -> dead NIC |
| Krzysztof Oledzki | Error: an inet prefix is expected rather than "0/0". |
| David Miller | Re: iptables very slow after commit784544739a25c30637397ace5489eeb6e15d7d49 |
| Johann Baudy | Packet mmap: TX RING and zero copy |
