Skip to content

Commit 1a597e8

Browse files
committed
Add ignoreset for gitweb sites
Filter out anything referencing individual commits. Allow downloading all files and snapshots though.
1 parent 7ad0d38 commit 1a597e8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

db/ignore_patterns/gitweb.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "gitweb",
3+
"patterns": [
4+
"[?;&]a=commit($|[;&])",
5+
"[?;&]a=commitdiff($|[;&])",
6+
"[?;&]hb?=[0-9a-f]+($|[;&])",
7+
"[?;&]a=blob_plain[;&]f=[^;&]*[;&]hb=refs/[^;&]*($|[;&])",
8+
"[?;&]a=history[;&]f=[^;&]+([;&]hb=HEAD)($|[;&])",
9+
],
10+
"type": "ignore_patterns"
11+
}

0 commit comments

Comments
 (0)