Skip to content
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

Open
diamond-lizard opened this issue Aug 20, 2017 · 1 comment
Open

histdb-sync commits to git repo in parent dir #6

diamond-lizard opened this issue Aug 20, 2017 · 1 comment

Comments

@diamond-lizard
Copy link

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.

@LlinksRechts
Copy link
Contributor

fixed this issue in pr #21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants