You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
find_git_dir() does not play nicely inside of $GIT_DIR, hence the error message checking.
A possible solution would be to resolve the proper work tree directory. Not sure how to do that with the plumbing / porcelain stuff (realized I should have said "plumbing" in that first commit haha). Trying out the "root" alias trick did not seem to work either.
The text was updated successfully, but these errors were encountered:
When you say $GIT_DIR, do you mean the .git folder inside of a working directory? If not, sorry for my stupidity. If yes, then I'm not sure it's a huge deal, git status doesn't work inside of it either :)
Well, only thing I can think of is checking if the output from pwd for example contains /.git, and then attempt run git status against the parent directory of the .git directory. I might give it a shot just for fun, and if it doesn't slow down the find_git_dirty function in any noticeable way I'll push it :)
find_git_dir()
does not play nicely inside of $GIT_DIR, hence the error message checking.A possible solution would be to resolve the proper work tree directory. Not sure how to do that with the plumbing / porcelain stuff (realized I should have said "plumbing" in that first commit haha). Trying out the "root" alias trick did not seem to work either.
The text was updated successfully, but these errors were encountered: