git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How do I get the contents of a directory in fast-import
@ 2016-01-01 15:54 Stefan Monnier
  2016-01-09 23:56 ` Stefan Monnier
  2016-01-15 22:39 ` Jeff King
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Monnier @ 2016-01-01 15:54 UTC (permalink / raw)
  To: git

I have a program which tries to collect info from lots of branches and
generate some table from that data into another branch.

For performance reasons, I'd like to do that from fast-import, and as
long as I know the name of all the files I need to consult, everything
is fine since I can use the "ls" and "cat-blob" commands of fast-import
to get efficiently the data I need.

But I also need to look at some files whose names I don't know beforehand
(i.e. all the files in some directories).  If I do "cat-blob" on those
directories I get some binary "thing" which I don't understand.

So how do I get a directory listing from fast-inmport, i.e.
like I can get with "git cat-file -p", but without having to fork
a separate git process?


        Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-16  2:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-01 15:54 How do I get the contents of a directory in fast-import Stefan Monnier
2016-01-09 23:56 ` Stefan Monnier
2016-01-15 22:39 ` Jeff King
2016-01-16  1:59   ` Stefan Monnier

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).