Open nanoant opened 12 years ago
I imagine GitX depends pretty heavily on that directory. What would you expect it to do when you remove the directory? Popup an alert that says "No longer a git directory"? Or auto-reinitialize a new .git directory?
Huh? I'd expect it to close the window. Anyway anything but crash.
Fair enough, it is a pretty gnarly thing to do to a git client, though. The actual crash is in handling the unexpected termination of the git
command that was running in that directory.
While failure of git commands should only terminate the current operation, I suspect the best fix for this is to continue with work on #2 to remove dependencies on the git
command-line.
Steps to reproduce:
cd /tmp
git init
gitx
rm -rf .git