public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@grenoble-inp•fr>
To: "Andy Falanga \(afalanga\)" <afalanga@micron•com>
Cc: "git\@vger.kernel.org" <git@vger•kernel.org>
Subject: Re: What's happening to the index
Date: Tue, 28 Jun 2016 17:17:18 +0200	[thread overview]
Message-ID: <vpq60stuyv5.fsf@anie.imag.fr> (raw)
In-Reply-To: <57728A17.3010207@micron.com> (Andy Falanga's message of "Tue, 28 Jun 2016 14:30:47 +0000")

"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/

  reply	other threads:[~2016-06-28 15:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-28 14:30 What's happening to the index Andy Falanga (afalanga)
2016-06-28 15:17 ` Matthieu Moy [this message]
2016-06-28 22:49   ` Andy Falanga (afalanga)
2016-06-29  7:43     ` Matthieu Moy
2016-07-03  8:21     ` David

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vpq60stuyv5.fsf@anie.imag.fr \
    --to=matthieu.moy@grenoble-inp$(echo .)fr \
    --cc=afalanga@micron$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox