Thread (12 messages) 12 messages, 4 authors, 2016-06-15

Re: [RFC] git blame-tree

From: Jeff King <hidden>
Date: 2016-06-15 22:50:42

On Fri, Mar 04, 2011 at 02:40:14PM +0000, Will Palmer wrote:
Coincidentally, I'm doing a similar thing in a shell script at the
moment. Unfortunately, no tree-object is involved: I'm instead using the
output from "git diff" on two different branches to generate a list of
files I care about. How hard would it be to accept a nul-delimited list
of filenames via stdin, rather than from a tree? If I'm reading this
right, it looks like a pretty trivial change.
My planned rewrite will take arbitrary pathspecs, so you can ask for a
subset of the project files, not just a specific tree, on the
command-line.  Which may be enough for your purposes (coupled with
xargs). But it would also be easy enough to take rev options on stdin
for very large cases that would exceed the usual command-line limits.
(I couldn't get the existing patch to apply, myself.. I assume I'm
just doing something wrong as I don't need to use "git am" very
often.)
It's also possible I screwed something up in posting it. If you describe
the problem, I might be able to help.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help