On 09/08/2014 07:19 AM, Jeff King wrote:
Have you tried "git log -L 2235,2235:fs/ext4/mballoc.c --
fs/ext4/mballoc.c"? Can you compare your approach to that of "log -L"?

-Peff

Nice, but it doesn't seem to work 100 % (?)



tb@linux:~/projects/git/git.pu/t$ git log t3910-mac-os-precompose.sh | grep "^commit"
commit 1265886303778b5a2631c41c6ee61094c5fda7b0
commit a4cf6b4b91835c1d8d13ebb5cf3ce9241e181f1b
commit 750b2e4785e5956122b3c565af65eb1929714fba
commit 92b0c8bed0d3f6ed5442e3ffa178413772faa31b
commit 308566eb8b35b9279082bd5398c4252169d52b22
commit 76759c7dff53e8c84e975b88cb8245587c14c7ba

I'm quite sure that line 15 looks like this in the original commit 76759c7d:

">junk/"$Adiarnfc" &&"

But it is not shown:
tb@linux:~/projects/git/git.pu/t$ git log -L 15,15:t3910-mac-os-precompose.sh -- t3910-mac-os-precompose.sh
commit 308566eb8b35b9279082bd5398c4252169d52b22
Author: Michael J Gruber <g...@drmicha.warpmail.net>
Date:   Mon Jul 30 11:57:18 2012 +0200

    t3910: use the UTF8_NFD_TO_NFC test prereq

    Besides reusing the new test prerequisite, this fixes also the issue
that the current output is not TAP compliant and produces the output "no
    reason given" [for skipping].

    Signed-off-by: Michael J Gruber <g...@drmicha.warpmail.net>
    Signed-off-by: Junio C Hamano <gits...@pobox.com>

diff --git a/t/t3910-mac-os-precompose.sh b/t/t3910-mac-os-precompose.sh
--- a/t/t3910-mac-os-precompose.sh
+++ b/t/t3910-mac-os-precompose.sh
@@ -10,0 +15,1 @@
+
============================
But line 20 seems to work better (I shortened the output by using grep):

tb@linux:~/projects/git/git.pu/t$ git log -L 20,20:t3910-mac-os-precompose.sh -- t3910-mac-os-precompose.sh | grep "^commit"
commit a4cf6b4b91835c1d8d13ebb5cf3ce9241e181f1b
commit 308566eb8b35b9279082bd5398c4252169d52b22
commit 76759c7dff53e8c84e975b88cb8245587c14c7ba

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to