summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java b/app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java
index 637d2052..ba05b939 100644
--- a/app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java
+++ b/app/src/main/java/com/zeapo/pwdstore/git/GitActivity.java
@@ -465,6 +465,8 @@ public class GitActivity extends ActionBarActivity {
username = hostname.split("@")[0];
}
+ saveConfiguration();
+
if (localDir.exists() && localDir.listFiles().length != 0) {
new AlertDialog.Builder(this).
setTitle(R.string.dialog_delete_title).
@@ -505,8 +507,6 @@ public class GitActivity extends ActionBarActivity {
).
show();
} else {
- saveConfiguration();
-
try {
new CloneOperation(localDir, activity)
.setCommand(hostname)