Re: What's happening to the index
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jun 28, 2016, 15:17 UTC
- Message-ID
- <vpq60stuyv5.fsf@anie.imag.fr>
- In-Reply-To
- <57728A17.3010207@micron.com>
"Andy Falanga (afalanga)" <afalanga@micron.com> writes:
> After the line calling increlnum is executed, I often have issues with > make unable to spawn the next command because it can't read the current > directory info.
This may happen if you delete the current directory, even if your re-create it afterwards. For example:
/tmp/test$ rm -fr /tmp/test && mkdir /tmp/test /tmp/test$ touch foo touch: cannot touch ‘foo’: No such file or directory /tmp/test$ cd /tmp/test /tmp/test$ touch foo /tmp/test$
This is unrelated from Git, but maybe you asked Git to delete a directory (by switching to a branch which doesn't contain a directory for example).
> If I do: cd .. && cd -; all is well.
This is a typical symptom of the issue above.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/