tito icon indicating copy to clipboard operation
tito copied to clipboard

Tito fails to get a commit count when there is more than one root commit

Open adamladd17 opened this issue 6 years ago • 0 comments

get_commit_count in common always returns 0 if there is more than one root commit (this scenario pops up when you merge two old repositories into one new one).

I was able to fix this by adding output= output.split("\n")[-1] under line 919 in method get_commit_count of common.py

This just takes the initial root commit in case there are multiple.

adamladd17 avatar Sep 04 '19 12:09 adamladd17