[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4539EBF3.8050607@drzeus.cx>
Date: Sat, 21 Oct 2006 11:44:19 +0200
From: Pierre Ossman <drzeus-list@...eus.cx>
To: Linus Torvalds <torvalds@...l.org>
CC: Andrew Morton <akpm@...l.org>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: Git training wheels for the pimple faced maintainer
Linus Torvalds wrote:
> On Fri, 20 Oct 2006, Pierre Ossman wrote:
>
>> I'm still learning the more fancy parts of git, but I think that would be:
>>
>> git diff master..for-linus | diffstat
>>
>
> Use "git diff -M --stat master..for-linus" instead.
>
> The "-M" enables rename detection, and the "--stat" does the diffstat for
> you (and better than plain diffstat, since it knows about renames, copies
> and deletes).
>
> HOWEVER! The above obviously only really works correctly if "master" is a
> strict subset of "for-linus".
>
>
Ah, that's a bit of a gotcha. Any nice tricks to keep track of where you
where in sync with upstream last? Create a dummy branch/tag perhaps?
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists