ensure that the configuration is saved
This commit is contained in:
parent
5d11cb2d2b
commit
a8209a40f9
1 changed files with 2 additions and 2 deletions
|
@ -465,6 +465,8 @@ public class GitActivity extends ActionBarActivity {
|
||||||
username = hostname.split("@")[0];
|
username = hostname.split("@")[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
saveConfiguration();
|
||||||
|
|
||||||
if (localDir.exists() && localDir.listFiles().length != 0) {
|
if (localDir.exists() && localDir.listFiles().length != 0) {
|
||||||
new AlertDialog.Builder(this).
|
new AlertDialog.Builder(this).
|
||||||
setTitle(R.string.dialog_delete_title).
|
setTitle(R.string.dialog_delete_title).
|
||||||
|
@ -505,8 +507,6 @@ public class GitActivity extends ActionBarActivity {
|
||||||
).
|
).
|
||||||
show();
|
show();
|
||||||
} else {
|
} else {
|
||||||
saveConfiguration();
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
new CloneOperation(localDir, activity)
|
new CloneOperation(localDir, activity)
|
||||||
.setCommand(hostname)
|
.setCommand(hostname)
|
||||||
|
|
Loading…
Reference in a new issue