← Winnitude! Search  ·  Reader Mode (1981 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 28 LINKS

avoid duplicate files in --all-files during conflict by asottile · Pull Request #3727 · pre-commit/pre-commit

Repository navigation

avoid duplicate files in --all-files during conflict - #3727


Merged
asottile merged 1 commit into main from dedupe Jul 21, 2026
Merged

avoid duplicate files in --all-files during conflict #3727 asottile merged 1 commit into main from dedupe

Conversation

asottile commented Jul 21, 2026 · edited Loading



Copy link Copy Markdown
Member

resolves #3706

avoid duplicate files in --all-files during conflict 8a1c47a asottile enabled auto-merge July 21, 2026 20:35 asottile merged commit 766e550 into main Jul 21, 2026 27 checks passed asottile deleted the dedupe branch July 21, 2026 20:44

albertferras-vrf commented Jul 22, 2026 · edited Loading



Copy link Copy Markdown

@asottile this change broke some of our CI pipelines running pre-commit because we were using git version 2.30.2 (--deduplicate was added on 2.31.0).
We will update our git binary, but wondering if pre-commit should also check for minimum git command version or if this --deduplicate tag should only be added after checking git version first. I couldn't find anywhere in the documentation which is the minimum git binary that should be instaleld

asottile commented Jul 22, 2026



Copy link Copy Markdown
Member

Author

2.31 is 5 years old

pre-commit locked as resolved and limited conversation to collaborators Jul 22, 2026 Sign up for free to subscribe to this conversation on GitHub . Already have an account? Sign in .

Labels

None yet

2 participants