git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Produce contents of index with existing directory as cache
@ 2017-08-30 14:11 Florian Weimer
  2017-08-30 14:15 ` David Lloyd
  0 siblings, 1 reply; 5+ messages in thread
From: Florian Weimer @ 2017-08-30 14:11 UTC (permalink / raw)
  To: git

Is there a variant of “git checkout-index” which will produce the
existing index contents, like “git checkout-index” would do with an
empty directory, but can reuse an existing directory tree, to avoid
writing all files from scratch?

I'm writing some analysis scripts which need to change a checked-out
working tree.  Right now I'm throwing away the tree after making the
changes and create the next tree (which is expected to be quite similar
in contents) from scratch, starting with an empty directory.  This is
quite slow.

Thanks,
Florian

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

end of thread, other threads:[~2017-08-31  9:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-30 14:11 Produce contents of index with existing directory as cache Florian Weimer
2017-08-30 14:15 ` David Lloyd
2017-08-30 14:18   ` Florian Weimer
2017-08-30 14:55     ` David Lloyd
2017-08-31  9:58       ` Florian Weimer

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