Index: git_cl.py |
diff --git a/git_cl.py b/git_cl.py |
index 1f62dc055b2ff25693dce38d836403806e641707..24a8c996913eed0f9b6a33ef6a5ba204e60be649 100755 |
--- a/git_cl.py |
+++ b/git_cl.py |
@@ -2306,8 +2306,7 @@ class _GerritChangelistImpl(_ChangelistCodereviewBase): |
'Press Enter to continue, Ctrl+C to abort.') |
differs = True |
- last_upload = RunGit(['config', self._GitBranchSetting('gerritsquashhash')], |
- error_ok=True).strip() |
+ last_upload = self._GitGetBranchConfigValue('gerritsquashhash') |
# Note: git diff outputs nothing if there is no diff. |
if not last_upload or RunGit(['diff', last_upload]).strip(): |
print('WARNING: some changes from local branch haven\'t been uploaded') |