diff options
Diffstat (limited to 'bn_django/git_browse/views.py')
-rw-r--r-- | bn_django/git_browse/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bn_django/git_browse/views.py b/bn_django/git_browse/views.py index d8e01d7..3439c35 100644 --- a/bn_django/git_browse/views.py +++ b/bn_django/git_browse/views.py @@ -25,10 +25,10 @@ def repo_info(request, repo,branch=None): therepo = get_object_or_404(Repository, slug=repo) (GITPREFIX, heads, tags) = therepo.scan() - shortlog = commands.getoutput(GITPREFIX + ' log | ' + GITCOMMAND \ - + '-shortlog') branches = commands.getoutput(GITPREFIX + ' branch') filelist = commands.getoutput(GITPREFIX + ' ls-files') + shortlog = therepo.shortlog() + return render_to_response('git_browse/repository_info.html', \ dict(object=therepo, \ filelist=filelist, \ |