1
0

Merge branch 'lh/remote-branches'

Este cometimento está contido em:
Lars Hjemli
2009-12-08 19:34:30 +01:00
ascendente f4f6210b4f 41934a3222
cometimento 4e75d7c9b9
5 ficheiros modificados com 18 adições e 0 eliminações

Ver ficheiro

@ -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;