author | Alberto Bertogli
<albertito@blitiri.com.ar> 2025-07-14 00:42:37 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2025-07-14 00:46:14 UTC |
parent | 107b149b8d6bacd62a7290c4e1de55e280e861b6 |
git-arr | +1 | -1 |
diff --git a/git-arr b/git-arr index 70bffd4..f89aa74 100755 --- a/git-arr +++ b/git-arr @@ -473,6 +473,7 @@ def generate(output: str, only=None): limit=r.info.commits_per_page * r.info.max_pages, ) for cid in commit_ids: + commit_count += 1 if cid in commits_written: continue commits_written.add(cid) @@ -484,7 +485,6 @@ def generate(output: str, only=None): write_to( "r/%s/c/%s.patch" % (r.name, cid), patch, (r, cid) ) - commit_count += 1 # To avoid regenerating files that have not changed, we will # instruct write_to() to set their mtime to the branch's committer