adhoc-revtuple-generator: Recognise http://example.net/example.git/ as git
PATCH 1/1 adhoc-revtuple-generator: Recognise http://example.net/example.git/ as git
In some circumstances the trailing slash appears, in a way that is outside our control. Eg some people with git submodules.
Signed-off-by Ian Jackson <[email protected]>
--- adhoc-revtuple-generator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
adhoc-revtuple-generator +1 -1
@@ -507,7 +507,7 @@ sub parse_trees () { $tree->{Latest}= $2; } $tree->{Url}= $_; - if (m,/(\w[^/]+)\.git$,) { + if (m,/(\w[^/]+)\.git/?$,) { $tree->{Gen}= \&git_generator; $tree->{Show}= \&git_revshower; $tree->{Treename}= $1;
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel