From: Thomas Rast <trast@student.ethz.ch>
To: <git@vger.kernel.org>
Cc: "Björn Steinbrink" <B.Steinbrink@gmx.de>
Subject: Re: blame -M vs. log -p|grep -c ^+ weirdness
Date: Tue, 11 Aug 2009 13:56:04 +0200 [thread overview]
Message-ID: <200908111356.06558.trast@student.ethz.ch> (raw)
In-Reply-To: <200908111216.05131.trast@student.ethz.ch>
[-- Attachment #1: Type: Text/Plain, Size: 822 bytes --]
Thomas Rast wrote:
> git://csa.inf.ethz.ch/domjudge-public.git
Turns out this is locked down from the outside as of this writing, so
I mirrored it at
git://thomasrast.ch/domjudge.git
> git ls-files | while read f; do git blame -M -- "$f"; done |
[...]
> git log --no-merges -p upstream/2.2.. | grep '^+' | grep -v -c '^+++'
[...]
> Björn Steinbrink suggested on IRC that I use -M5 -C5 -C5 -C5, which
> indeed reduces it to
As Björn kindly pointed out once he had access to the repo, the blame
-M works for binary files too, while log -p doesn't; and
'bin/sh-static' and 'doc/logos/DOMjudgelogo.pdf' live under other
names in the upstream repository too, so sufficiently many -C blame
them on upstream instead. So that resolves the mystery.
--
Thomas Rast
trast@{inf,student}.ethz.ch
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
prev parent reply other threads:[~2009-08-11 12:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-11 10:16 blame -M vs. log -p|grep -c ^+ weirdness Thomas Rast
2009-08-11 11:56 ` Thomas Rast [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200908111356.06558.trast@student.ethz.ch \
--to=trast@student.ethz.ch \
--cc=B.Steinbrink@gmx.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).