From e3ce565ca62274ff5d1601d2ecb5ab343d159430 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Mon, 5 Dec 2022 15:28:25 -0800 Subject: [PATCH] fix: allow remembering hash algorithm --- src/cli/cli.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cli/cli.go b/src/cli/cli.go index 2268621f..157adb7a 100644 --- a/src/cli/cli.go +++ b/src/cli/cli.go @@ -234,6 +234,9 @@ func send(c *cli.Context) (err error) { if !c.IsSet("local") { crocOptions.OnlyLocal = rememberedOptions.OnlyLocal } + if !c.IsSet("hash") { + crocOptions.HashAlgorithm = rememberedOptions.HashAlgorithm + } } var fnames []string