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 Mar 20, 2023
1 parent 7ad0d38 commit 1a597e8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions db/ignore_patterns/gitweb.json
@@ -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 1a597e8

Please sign in to comment.