Open hsoc opened 8 years ago
@hsoc Not sure I understand 100%. Can you give us steps to reproduce this bug?
Actually maybe it is not a bug per-ce. This happened when I added a directory from another repo with stale .git info. So basically I moved another repo inside the current one and because it included a dir/.git directory I got the error. Feel free to close the issue if you consider it unrelated. -thank you
@hsoc So you're nesting one repository inside another? I believe that's called a submodule. And repro steps would be good, since AFAIK ungit is supposed to be able to handle submodules just fine. (Though that isn't a feature I regularly use.)
So to reproduce my issue I just moved one repo insider another and then pressed commit. I am not an advanced git user so I should probably add submodule
first ?
Instead it gives this error:
Untracked files: (use "git add..." to include in what will be committed)
directory/
nothing added to commit but untracked files present (use "git add" to track)