initremote: Avoid creating a remote that is not encrypted when gpg is broken

checksize was applied lazily, so the exception didn't happen until the
remote was set up.

Sponsored-by: k0ld on Patreon
This commit is contained in:
Joey Hess 2023-05-01 13:00:05 -04:00
parent 23719bc91b
commit 57c1b4f5e5
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 11 additions and 4 deletions

View file

@ -22,3 +22,6 @@ tried with `10.20230329` and `10.20230408+gc70677e31` on Manjaro
### 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)
It's awesome 👍
> Indeed, there was a laziness bug that prevented it from exiting early
> enough. [[fixed|done]] --[[Joey]]