Wrap the generic repository-missing message correctly

Now appears to the client as:

```
fatal: remote error: no git access
This Overleaf project currently has no git access, either because
the project does not exist, or because git access is not enabled
for the project.
```
This commit is contained in:
Shane Kilkelly 2018-12-13 12:37:42 +00:00
parent abcaf8242e
commit 9ee39ae930

View file

@ -10,8 +10,9 @@ import java.util.List;
public class MissingRepositoryException extends SnapshotAPIException {
public static final List<String> GENERIC_REASON = Arrays.asList(
"This Overleaf project currently has no git access, either",
"because the project does not exist, or because git access is not enabled for the project.",
"This Overleaf project currently has no git access, either because",
"the project does not exist, or because git access is not enabled",
"for the project.",
"",
"If this is unexpected, please contact us at support@overleaf.com, or",
"see https://www.overleaf.com/help/342 for more information."