-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
histdb-sync commits to git repo in parent dir #6
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a parent directory of $hist_dir contains a git repo, the first time histdb-sync runs, it'll try to commit to that repo, since the "git rev-parse --is-inside-work-tree" test will return true even if there's no git repo in $hist_dir itself.
Perhaps a simple test for the non-existence of a .git directory in $hist_dir would be more appropriate.
The text was updated successfully, but these errors were encountered: