[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/media/includes/classes
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2011-01-09 1:16:20
Message-ID: 20110109011620.2EC33AC8B4 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1213018 by aacid:
add the checkout line for git
M +2 -2 class_appdata.inc
--- trunk/www/media/includes/classes/class_appdata.inc #1213017:1213018
@@ -209,8 +209,8 @@
function checkoutSourcesHtml() {
if ($this->data['repository'][0] == 'svn') {
return '<p>Checkout '.$this->name().' source code:</p><p><code>svn \
co svn://anonsvn.kde.org/home/kde/'.$this->data['repository'][1].'</code></p>';
- } else if($this->data['repository'][0] == 'git') {
- ///TODO
+ } else if($this->data['repository'][0] == 'git' && \
!empty($this->data['repository'][2])) { + return '<p>Checkout \
'.$this->name().' source code:</p><p><code>git clone \
git://anongit.kde.org/'.$this->data['repository'][2].'</code></p>'; }
return '';
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic