generated from simonw/click-app-template-repository
-
-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Repeating the command against a database with more than one namespace can result in commits being missed, because all commits across all namespaces will be skipped - especially problematic if you try to run against the same file but using a different namespace.
Solution: this code should take the current namespace into account:
git-history/git_history/cli.py
Lines 519 to 524 in bd61d92
def get_commit_hashes(db): | |
return ( | |
set(r[0] for r in db.execute("select hash from commits").fetchall()) | |
if db["commits"].exists() | |
else set() | |
) |
noslouch
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working