From f6d7fea449aeae6080ffae153edc3c6518e4b436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leszek=20S=CC=81laz=CC=87yn=CC=81ski?= Date: Sun, 20 Mar 2011 01:52:30 +0800 Subject: [PATCH] Bugfix: sidebar and history out of sync after commit --- PBGitHistoryController.m | 1 + PBGitIndex.m | 1 + 2 files changed, 2 insertions(+) diff --git a/PBGitHistoryController.m b/PBGitHistoryController.m index 1187525..657b2df 100644 --- a/PBGitHistoryController.m +++ b/PBGitHistoryController.m @@ -413,6 +413,7 @@ - (void) updateView { + [self refresh: nil]; [self updateKeys]; } diff --git a/PBGitIndex.m b/PBGitIndex.m index ae2cad7..4c63ab2 100644 --- a/PBGitIndex.m +++ b/PBGitIndex.m @@ -235,6 +235,7 @@ NSString *PBGitIndexOperationFailed = @"PBGitIndexOperationFailed"; return; repository.hasChanged = YES; + [repository reloadRefs]; amendEnvironment = nil; if (amend)