Inform the user about a failed push
In case there are uncommitted changes in the remote repository the push ran through successfully but there were still unpushed changes in the app. This change notfies the user about this situation. Strangely, the push method from Objective-Git does not inform about this, although the command line Git does. Thus, the check for the number of local changes is used after the push operation, which can actually have several reasons. Important is that there is at least some hint, though.
This commit is contained in:
parent
bf8f2078f5
commit
b503e5f613
4 changed files with 15 additions and 11 deletions
|
|
@ -67,6 +67,8 @@
|
|||
"FileNotFoundError." = "File '%@' cannot be read.";
|
||||
"PasswordDuplicatedError." = "Cannot add the password; password is duplicated.";
|
||||
"GitResetError." = "Cannot identify the latest synced commit.";
|
||||
"GitCreateSignatureError." = "Cannot create a valid author/committer signature.";
|
||||
"GitPushNotSuccessfulError." = "Pushing local changes was not successful. Make sure there are no uncommitted changes on the remote repository.";
|
||||
"WrongPasswordFilenameError." = "Cannot write to the password file.";
|
||||
"DecryptionError." = "Cannot decrypt password.";
|
||||
"EncodingError." = "Key is not ASCII encoded.";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue