From: Florian Weimer <fweimer@redhat.com>
To: git@vger.kernel.org
Subject: Produce contents of index with existing directory as cache
Date: Wed, 30 Aug 2017 16:11:03 +0200 [thread overview]
Message-ID: <5a9e4efd-8c48-487e-4a9f-9362a944c992@redhat.com> (raw)
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
next reply other threads:[~2017-08-30 14:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-30 14:11 Florian Weimer [this message]
2017-08-30 14:15 ` Produce contents of index with existing directory as cache David Lloyd
2017-08-30 14:18 ` Florian Weimer
2017-08-30 14:55 ` David Lloyd
2017-08-31 9:58 ` Florian Weimer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5a9e4efd-8c48-487e-4a9f-9362a944c992@redhat.com \
--to=fweimer@redhat.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).