Re: Produce contents of index with existing directory as cache

2017-08-31 Thread Florian Weimer
On 08/30/2017 04:55 PM, David Lloyd wrote: > On Wed, Aug 30, 2017 at 9:18 AM, Florian Weimer wrote: >> On 08/30/2017 04:15 PM, David Lloyd wrote: >>> git reset --hard ? >> >> That doesn't remove unstaged files. > Ah, does it not? Perhaps add a "git clean -d -f" as well. It would have to be “git

Re: Produce contents of index with existing directory as cache

2017-08-30 Thread David Lloyd
Ah, does it not? Perhaps add a "git clean -d -f" as well. On Wed, Aug 30, 2017 at 9:18 AM, Florian Weimer wrote: > On 08/30/2017 04:15 PM, David Lloyd wrote: >> git reset --hard ? > > That doesn't remove unstaged files. > > Florian -- - DML

Re: Produce contents of index with existing directory as cache

2017-08-30 Thread Florian Weimer
On 08/30/2017 04:15 PM, David Lloyd wrote: > git reset --hard ? That doesn't remove unstaged files. Florian

Re: Produce contents of index with existing directory as cache

2017-08-30 Thread David Lloyd
git reset --hard ? On Wed, Aug 30, 2017 at 9:11 AM, Florian Weimer wrote: > 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 f

Produce contents of index with existing directory as cache

2017-08-30 Thread Florian Weimer
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