Merge branch 'lh/remote-branches'

This commit is contained in:
Lars Hjemli
2009-12-08 19:34:30 +01:00
當前提交 4e75d7c9b9
共有 5 個文件被更改,包括 18 次插入0 次删除

查看文件

@@ -187,6 +187,8 @@ void cgit_print_branches(int maxcount)
list.refs = NULL;
list.alloc = list.count = 0;
for_each_branch_ref(cgit_refs_cb, &list);
if (ctx.repo->enable_remote_branches)
for_each_remote_ref(cgit_refs_cb, &list);
if (maxcount == 0 || maxcount > list.count)
maxcount = list.count;