repo: fix typo
This commit is contained in:
parent
63fde5a7d9
commit
f5463f98ba
|
@ -670,9 +670,9 @@ namespace SparkleLib.Git {
|
|||
Error = ErrorStatus.AuthenticationFailed;
|
||||
|
||||
} else if (line.StartsWith ("error: Disk space exceeded")) {
|
||||
Error = ErrorStatus.DiskSpaceExcedeed;
|
||||
Error = ErrorStatus.DiskSpaceExceeded;
|
||||
|
||||
} else if (line.EndsWithWith ("does not appear to be a git repository")) {
|
||||
} else if (line.EndsWith ("does not appear to be a git repository")) {
|
||||
Error = ErrorStatus.NotFound;
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ namespace SparkleLib {
|
|||
HostUnreachable,
|
||||
HostIdentityChanged,
|
||||
AuthenticationFailed,
|
||||
DiskSpaceExcedeed,
|
||||
DiskSpaceExceeded,
|
||||
LockedFiles,
|
||||
NotFound
|
||||
}
|
||||
|
|
|
@ -270,14 +270,14 @@ namespace SparkleShare {
|
|||
} else if (repo.Error == ErrorStatus.AuthenticationFailed) {
|
||||
FolderErrors [i] = "Authentication failed";
|
||||
|
||||
} else if (repo.Error == ErrorStatus.DiskSpaceExcedeed) {
|
||||
} else if (repo.Error == ErrorStatus.DiskSpaceExceeded) {
|
||||
FolderErrors [i] = "Host is out of disk space";
|
||||
|
||||
} else if (repo.Error == ErrorStatus.LockedFiles) {
|
||||
FolderErrors [i] = "Some local files are locked or in use";
|
||||
|
||||
} else if (repo.Error == ErrorStatus.NotFound) {
|
||||
FolderErrors [i] = "No such project found";
|
||||
FolderErrors [i] = "Project doesn't exist on host";
|
||||
|
||||
} else {
|
||||
FolderErrors [i] = "";
|
||||
|
|
Loading…
Reference in a new issue