Keep window-title up-to-date in commit view

This issues a simple reloadRefs when refreshing the commit-view, keeping
the current branchname up-to-date here as well.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
This commit is contained in:
Johannes Gilger
2009-08-30 23:12:43 +02:00
committed by Pieter de Bie
parent a5cfbe1b42
commit 0823ff859d
+3
View File
@@ -168,6 +168,9 @@
[nc addObserver:self selector:@selector(readCachedFiles:) name:NSFileHandleReadToEndOfFileCompletionNotification object:handle];
self.busy++;
[handle readToEndOfFileInBackgroundAndNotify];
// Reload refs (in case HEAD changed)
[repository reloadRefs];
}
- (void) updateView