about summary refs log tree commit diff
path: root/third_party/cgit/filters/commit-links.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/cgit/filters/commit-links.sh')
-rwxr-xr-xthird_party/cgit/filters/commit-links.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/cgit/filters/commit-links.sh b/third_party/cgit/filters/commit-links.sh
index 58819524ce..796ac308d2 100755
--- a/third_party/cgit/filters/commit-links.sh
+++ b/third_party/cgit/filters/commit-links.sh
@@ -19,7 +19,7 @@ regex=''
 
 # This expression generates links to commits referenced by their SHA1.
 regex=$regex'
-s|\b([0-9a-fA-F]{7,40})\b|<a href="./?id=\1">\1</a>|g'
+s|\b([0-9a-fA-F]{7,64})\b|<a href="./?id=\1">\1</a>|g'
 
 # This expression generates links to a fictional bugtracker.
 regex=$regex'