Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python3
- import sys
- import git
- repo = git.Repo(sys.argv[1])
- unused = None
- for commit in repo.iter_commits():
- print(commit.hexsha)
- # uncomment to go 1000x slower
- # unused = commit.stats
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement