Skip to content

Commit a26488a

Browse files
committed
fix printing of remote branches
1 parent 5791e45 commit a26488a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitless/cli/gl_branch.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def _do_list(repo, list_remote, v=False):
9898
if list_remote:
9999
for r in repo.remotes:
100100
for b in (r.lookup_branch(n) for n in r.listall_branches()):
101-
pprint.item(' {0}'.format(colored.yellow(b.branch_name)))
101+
pprint.item(' {0}'.format(colored.yellow(str(b))))
102102
if v:
103103
pprint.item(' ➜ head is {0}'.format(_ci_str(b.head)))
104104

0 commit comments

Comments
 (0)