git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git list files

From
СССтойчо Слепцов <stoycho.sleptsov@gmail.com>
Date
Jan 14, 2013, 17:20 UTC
Message-ID
<CAGL0X-p2D90aNTzAHLoz0xnU3AAR-vUEPDAoRkyd9k+8_Kc0Vg@mail.gmail.com>
In-Reply-To
<20130114152836.GA18370@sigill.intra.peff.net>

I went through your initial thread about blame-tree, and it is really very very (+very) close to answer my question.

Thanks for writing it, if it comes one day to git, I will use it.

As for: 'I guess people's eyes and brains are trained by the old school "file boundaries matter" way of thinking' -- Junio C Hamano at http://thread.gmane.org/gmane.comp.version-control.git/168323; http://article.gmane.org/gmane.comp.version-control.git/168333

I think it's not the case, Mr. Hamano.
>From my point of view, it is just to have a quick picture of "what

came from where in this current directory", which is a normal reaction of human beings, I think.

Speaking of which I can't help thinking that this feature could be provided by $git rev-list (HEAD) --no-walk -- <paths>, just don't stop at first commit, but at first commit for each of the paths.

Or maybe diff could have an option to not compare against a specific point, but actually do his job and go downstears and find where the _diff_erence for _each_ path happened finally.

(... applicable for $git status -l (--list) --porcelain ... but thats a whim, sorry.)

Anyway, thank you all for your time, it was a real pleasure for me, Blind.

2013/1/14 Jeff King <peff@peff.net>:
Show 19 quoted lines
> On Sun, Jan 13, 2013 at 11:08:32PM -0800, Jonathan Nieder wrote:
>
>> Jeff King wrote:
>>
>> > As far as I recall, that script works. However, I have a pure-C
>> > blame-tree implementation that is much faster, which may also be of
>> > interest. I need to clean up and put a few finishing touches on it to
>> > send it to the list, but it has been in production at GitHub for a few
>> > months. You can find it here:
>> >
>> >   git://github.com/peff/git jk/blame-tree
>>
>> Oh, neat.  Would that make sense as an item in
>> <https://git.wiki.kernel.org/index.php/Interfaces,_frontends,_and_tools>?
>
> I'd rather finish cleaning it up and actually get it merged. It's on my
> todo list.
>
> -Peff
Previous: Jeff King
Message 9 of 9 in “git list files”
  1. Стойчо СлепцовJan 13, 2013
  2. Matthieu MoyJan 13, 2013
  3. Стойчо СлепцовJan 13, 2013
  4. Jonathan NiederJan 13, 2013
  5. Стойчо СлепцовJan 13, 2013
  6. Jeff KingJan 13, 2013
  7. Jonathan NiederJan 14, 2013
  8. Jeff KingJan 14, 2013
  9. Стойчо СлепцовJan 14, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.