|
@@ -68,7 +68,7 @@ namespace Terra.Arbitrator.GUI
|
|
|
|
|
|
UnstageStep()
|
|
|
.Then(CompareStep)
|
|
|
- .Then(FinalizeRefresh)
|
|
|
+ .Then(changes => _changes = changes)
|
|
|
.Catch(HandleOperationError)
|
|
|
.Finally(FinishOperation);
|
|
|
}
|
|
@@ -221,15 +221,6 @@ namespace Terra.Arbitrator.GUI
|
|
|
}
|
|
|
return GitService.CompareLocalToRemote();
|
|
|
}
|
|
|
-
|
|
|
- private void FinalizeRefresh(List<GitChange> changes)
|
|
|
- {
|
|
|
- _changes = changes;
|
|
|
- if (string.IsNullOrEmpty(_infoMessage) && (_changes == null || _changes.Count == 0))
|
|
|
- {
|
|
|
- _infoMessage = "You are up-to-date! No local changes detected.";
|
|
|
- }
|
|
|
- }
|
|
|
|
|
|
// --- Shared Helper Methods ---
|
|
|
|