dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
e49bd7b
)
Merge "(bug 35751) Fix git revision links on Special:Version"
author
Brion VIBBER
<brion@wikimedia.org>
Fri, 6 Apr 2012 18:52:40 +0000
(18:52 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Fri, 6 Apr 2012 18:52:40 +0000
(18:52 +0000)
includes/GitInfo.php
patch
|
blob
|
history
diff --git
a/includes/GitInfo.php
b/includes/GitInfo.php
index
82c01f7
..
595043a
100644
(file)
--- a/
includes/GitInfo.php
+++ b/
includes/GitInfo.php
@@
-148,6
+148,9
@@
class GitInfo {
}
$url = $remote['url'];
+ if ( substr( $url, -4 ) !== '.git' ) {
+ $url .= '.git';
+ }
foreach( $this->viewers as $repo => $viewer ) {
$m = array();
$pattern = '#^' . $repo . '$#';