You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commits could be mistakenly pruned in subsequent RepoFilter().run() when using
filter-repo as a library. This is due to _SKIPPED_COMMITS not being cleared in
subsequent runs.
$ python test.py
r1 before:
1c29cdf (HEAD -> main) c1
962b81e c0
_SKIPPED_COMMITS: set()
New history written in 0.01 seconds; now repacking/cleaning...
Completely finished after 0.04 seconds.
_SKIPPED_COMMITS: {1}
New history written in 0.01 seconds; now repacking/cleaning...
Completely finished after 0.04 seconds.
r1 after:
962b81e (HEAD -> main) c0
The text was updated successfully, but these errors were encountered:
louiswpf
changed the title
Commits could be mistakenly pruned in subsequent RepoFilter().run()
Commits could be mistakenly pruned in subsequent RepoFilter().run()Dec 11, 2024
Commits could be mistakenly pruned in subsequent
RepoFilter().run()
when usingfilter-repo as a library. This is due to
_SKIPPED_COMMITS
not being cleared insubsequent runs.
Here is a reproducer:
The text was updated successfully, but these errors were encountered: