Skip to content

Commit

Permalink
get the full length commit hashes when building versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Friedel committed Mar 20, 2023
1 parent ce97141 commit 39cd59f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions varats-core/varats/paper/paper_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,7 @@ def __init__(

def versions(self) -> tp.List[bb.source.base.Variant]:
cache_path = self.fetch()
git_rev_list = git['rev-list', '--abbrev-commit', '--abbrev=10',
'--all']
git_rev_list = git['rev-list', '--all']
rev_list: tp.List[str] = []
with pb.local.cwd(cache_path):
rev_list = list(git_rev_list(self.refspec).strip().split('\n'))
Expand Down

0 comments on commit 39cd59f

Please sign in to comment.