Skip to content

Commit

Permalink
[GH #93] Reload the current branch name when reloading the status view
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas committed Oct 16, 2012
1 parent 40868f7 commit 7290971
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ master
Bug fixes: Bug fixes:


- Fix diff broken display when using --follow <filename>. - Fix diff broken display when using --follow <filename>.
- Reload current branch name when reloading the status view. (GH #93)


tig-1.1 tig-1.1
------- -------
Expand Down
3 changes: 2 additions & 1 deletion tig.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6560,7 +6560,8 @@ status_request(struct view *view, enum request request, struct line *line)
return status_enter(view, line); return status_enter(view, line);


case REQ_REFRESH: case REQ_REFRESH:
/* Simply reload the view. */ /* Load the current branch information and then the view. */
load_refs();
break; break;


default: default:
Expand Down

0 comments on commit 7290971

Please sign in to comment.