Skip to content

Commit

Permalink
Show remotes in branch view
Browse files Browse the repository at this point in the history
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  • Loading branch information
swegener authored and jonas committed Jun 5, 2011
1 parent 0c49889 commit f0150fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tig.c
Expand Up @@ -4582,7 +4582,7 @@ static bool
branch_draw(struct view *view, struct line *line, unsigned int lineno)
{
struct branch *branch = line->data;
enum line_type type = branch->ref->head ? LINE_MAIN_HEAD : LINE_DEFAULT;
enum line_type type = branch->ref == &branch_all ? LINE_DEFAULT : get_line_type_from_ref(branch->ref);

if (draw_date(view, &branch->time))
return TRUE;
Expand Down Expand Up @@ -4675,7 +4675,7 @@ branch_open_visitor(void *data, const struct ref *ref)
struct view *view = data;
struct branch *branch;

if (ref->tag || ref->ltag || ref->remote)
if (ref->tag || ref->ltag)
return TRUE;

branch = calloc(1, sizeof(*branch));
Expand Down

0 comments on commit f0150fa

Please sign in to comment.