ajaxorg/cloud9 — Issue #916: git add is slow and/or messed up
Author: gjtorikian
Created: 2012-02-06 20:25:32+00:00
State: open
Labels: bug

When I make a file dirty and try to perform a `git add`, the file is not added, and subsequently, I cannot perform a `git commit`. Here's the sequence of commands:

```
[gjtorikian@cloud9]:/workspace$ git add index.html
[gjtorikian@cloud9]:/workspace$ git commit -m Make some changes
# On branch video_demo
nothing to commit (working directory clean)
[gjtorikian@cloud9]:/workspace$ git status
# On branch video_demo
nothing to commit (working directory clean)
[gjtorikian@cloud9]:/workspace$ git add index.html
[gjtorikian@cloud9]:/workspace$ git status
# On branch video_demo
nothing to commit (working directory clean)
[gjtorikian@cloud9]:/workspace$ git add index.html
[gjtorikian@cloud9]:/workspace$ git status
# On branch video_demo
# Changes to be committed:
# (use "git reset HEAD ..." to unstage)
#
#	modified: index.html
#
```

Even though _index.html_ has saved my changes--I can close the tab, reopen the file, and my changes are still there--git does not recognize any changes, and so will not let me add it. It's important to note that after about three minutes, with no effort on my part, git status does succeed in identifying the change.