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 ''; }