Re: Git training wheels for the pimple faced maintainer
From: Pierre Ossman
Date: Sat Oct 21 2006 - 05:44:56 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/