repo git: Detect more out of space errors

This commit is contained in:
Hylke Bons 2013-07-06 15:53:41 +01:00
parent b580863798
commit 921b062c2e

View file

@ -719,7 +719,8 @@ namespace SparkleLib.Git {
Error = ErrorStatus.AuthenticationFailed;
} else if (line.StartsWith ("error: Disk space exceeded")) {
} else if (line.StartsWith ("error: Disk space exceeded") ||
line.Endswith ("No space left on device")) {
Error = ErrorStatus.DiskSpaceExceeded;
} else if (line.EndsWith ("does not appear to be a git repository")) {