receive-pack: optionally deny case clone refs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest1 patch 16 repliesIn review
- v31 patch 2 repliesSuperseded
- v21 patch 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 4 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | receive-pack: optionally deny case clone refsDocumentation/ Documentation/ Documentation/ +4 more | +261 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/1] receive-pack: optionally deny case clone refs
This issue bit us again recently.
In talking with some colleagues, I realized that the previous version of this patch, in addition to being potentially slow, was incomplete. Specifically, it didn't handle the case of refs/heads/case/one vs refs/heads/CASE/two; these are case clones even though they strcasecmp different.
This new version contains code to prevent this, as well as tests for this case.
Also it uses a hashmap to make lookups constant-time.