Fixed issue 226, branches are displayed only on source tree view.

This commit is contained in:
Loic d'Anterroches
2009-05-26 21:59:02 +02:00
parent bc434504b1
commit 54b37ac5b6
2 changed files with 14 additions and 4 deletions

View File

@@ -274,6 +274,7 @@ class IDF_Views_Source
$diff = new IDF_Diff($cobject->changes);
$diff->parse();
$scmConf = $request->conf->getVal('scm', 'git');
$in_branches = $scm->inBranches($commit, '');
return Pluf_Shortcuts_RenderToResponse('idf/source/commit.html',
array(
'page_title' => $page_title,
@@ -282,6 +283,7 @@ class IDF_Views_Source
'cobject' => $cobject,
'commit' => $commit,
'branches' => $branches,
'tree_in' => $in_branches,
'scm' => $scmConf,
'rcommit' => $rcommit,
'large_commit' => $large,