Permalink
Browse files

[GH #93] Reload the current branch name when reloading the status view

  • Loading branch information...
1 parent 40868f7 commit 7290971278944a701276e9bc4a88a216858f4e39 @jonas committed Oct 16, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −0 NEWS
  2. +2 −1 tig.c
View
@@ -7,6 +7,7 @@ master
Bug fixes:
- Fix diff broken display when using --follow <filename>.
+ - Reload current branch name when reloading the status view. (GH #93)
tig-1.1
-------
View
@@ -6560,7 +6560,8 @@ status_request(struct view *view, enum request request, struct line *line)
return status_enter(view, line);
case REQ_REFRESH:
- /* Simply reload the view. */
+ /* Load the current branch information and then the view. */
+ load_refs();
break;
default:

0 comments on commit 7290971

Please sign in to comment.