diff --git a/main.ipynb b/main.ipynb index 032c62b..692e873 100644 --- a/main.ipynb +++ b/main.ipynb @@ -287,7 +287,7 @@ " chdir('../')\n", " print(f'README path: {getcwd() = }')\n", "\n", - " cmd = r\"git log -M --format=%ct --reverse --\".split()\n", + " cmd = r\"git log -M --follow --format=%ct --reverse --\".split()\n", " # cmd = r\"git log --follow --format=%ct --reverse --\".split()\n", " output = {}\n", " \n", @@ -312,6 +312,8 @@ " \n", " # print((15 - pqBarsPrinted) * '=', '\\n\\n')\n", " # else :\n", + " \n", + " \n", " with tqdm(total=len(paths)) as pbar :\n", " # with tqdm(total=len(paths), position=0, leave=True) as pbar :\n", " for i, path in enumerate(paths) :\n", diff --git a/main.py b/main.py index 2f49b01..2651e4e 100644 --- a/main.py +++ b/main.py @@ -219,7 +219,7 @@ def getAllCTimesViaGit(paths: List[str]) -> Dict[str, Tuple[datetime, datetime]] chdir('../') print(f'README path: {getcwd() = }') - cmd = r"git log -M --format=%ct --reverse --".split() + cmd = r"git log -M --follow --format=%ct --reverse --".split() # cmd = r"git log --follow --format=%ct --reverse --".split() output = {} @@ -244,6 +244,8 @@ def getAllCTimesViaGit(paths: List[str]) -> Dict[str, Tuple[datetime, datetime]] # print((15 - pqBarsPrinted) * '=', '\n\n') # else : + + with tqdm(total=len(paths)) as pbar : # with tqdm(total=len(paths), position=0, leave=True) as pbar : for i, path in enumerate(paths) :