Skip to content

Commit 1730f67

Browse files
committed
Add ignoreset for gitweb sites
Filter out anything referencing individual commits. Allow downloading all files and snapshots though.
1 parent 04d0935 commit 1730f67

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

db/ignore_patterns/gitweb.json

+11
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)