HN2new | past | comments | ask | show | jobs | submitlogin

.git will be a file and not a directory, if you are in a submodule or a worktree.

You just illustrated why trying to assume the functionality of a third-party app instead of calling it creates even more bugs.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: