From kde-commits Sun Jan 09 01:16:20 2011 From: Albert Astals Cid Date: Sun, 09 Jan 2011 01:16:20 +0000 To: kde-commits Subject: www/media/includes/classes Message-Id: <20110109011620.2EC33AC8B4 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=129453591231292 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 '

Checkout '.$this->name().' source code:

svn co svn://anonsvn.kde.org/home/kde/'.$this->data['repository'][1].'

'; - } else if($this->data['repository'][0] == 'git') { - ///TODO + } else if($this->data['repository'][0] == 'git' && !empty($this->data['repository'][2])) { + return '

Checkout '.$this->name().' source code:

git clone git://anongit.kde.org/'.$this->data['repository'][2].'

'; } return ''; }