Skip to content

Commit

Permalink
Add ignoreset for gitweb sites
Browse files Browse the repository at this point in the history
Filter out anything referencing individual commits.

Allow downloading all files and snapshots though.
  • Loading branch information
pabs3 committed Feb 19, 2025
1 parent c3429cc commit 4b53174
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions db/ignore_patterns/gitweb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "gitweb",
"patterns": [
"[?;&]a=commit($|[;&])",
"[?;&]a=commitdiff($|[;&])",
"[?;&]hb?=[0-9a-f]+($|[;&])",
"[?;&]a=blob_plain[;&]f=[^;&]*[;&]hb=refs/[^;&]*($|[;&])",
"[?;&]a=history[;&]f=[^;&]+([;&]hb=HEAD)($|[;&])"
],
"type": "ignore_patterns"
}

0 comments on commit 4b53174

Please sign in to comment.