diff options
author | Eric Wong <e@80x24.org> | 2019-06-04 02:04:22 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-06-04 10:06:18 +0000 |
commit | 010fbd95d3916e20960d0aacea7dfc53502ff5ed (patch) | |
tree | edbe7024ec0f8ebd5bf39cfd6550d6b0d762fdc9 /lib | |
parent | 1f8065599d934b2af7d24773bb7d6901f9586945 (diff) | |
download | public-inbox-010fbd95d3916e20960d0aacea7dfc53502ff5ed.tar.gz |
We don't want to waste cycles passing non-ASCII characters to git.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/Feed.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm index a04838a1..ae071895 100644 --- a/lib/PublicInbox/Feed.pm +++ b/lib/PublicInbox/Feed.pm @@ -102,7 +102,7 @@ sub recent_msgs { my $hex = '[a-f0-9]'; my $addmsg = qr!^:000000 100644 \S+ (\S+) A\t${hex}{2}/${hex}{38}$!; my $delmsg = qr!^:100644 000000 (\S+) \S+ D\t(${hex}{2}/${hex}{38})$!; - my $refhex = qr/(?:HEAD|${hex}{4,40})(?:~\d+)?/; + my $refhex = qr/(?:HEAD|${hex}{4,40})(?:~[0-9]+)?/; # revision ranges may be specified my $range = 'HEAD'; |