From ddafe2353c64f111706970e804cb9620c12b63e4 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Tue, 9 Nov 2021 14:00:34 -0500 Subject: [PATCH] Be more permissive about blame commit hash length --- src/handlers/blame.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/blame.rs b/src/handlers/blame.rs index 7a3d0241c..7366c3eed 100644 --- a/src/handlers/blame.rs +++ b/src/handlers/blame.rs @@ -108,7 +108,7 @@ lazy_static! { r"(?x) ^ ( - [0-9a-f]{8} # commit hash + [0-9a-f]{7,40} # commit hash ) [\ ] \( # open (