[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH] 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 <Ian.Jackson@xxxxxxxxxxxxx> --- adhoc-revtuple-generator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adhoc-revtuple-generator b/adhoc-revtuple-generator index 1e04773..be3f375 100755 --- a/adhoc-revtuple-generator +++ b/adhoc-revtuple-generator @@ -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; -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |