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 Nov 8, 2024
1 parent 203d40a commit 28590dd
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 28590dd

Please sign in to comment.