Avoid throwing fatal errors when asked to write to a readonly git remote on http

Test suite found one of them, looking for giveup turned up several more.
This commit is contained in:
Joey Hess 2020-02-14 14:38:13 -04:00
parent a490947068
commit 399319ccbc
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 16 additions and 3 deletions

View file

@ -78,3 +78,8 @@ It's possible there's another issue here I'm not entirely aware of.
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
Of course! I use and rely on it daily :)
> This is not a bug in the test suite, it turns out, but in
> git-annex's handling of a http remote. It was throwing fatal errors
> rather than the correct behavior of displaying a warning. [[fixed|done]]
> --[[Joey]]