On 21 July 2017 at 14:59, Uwe Hausbrand <uwe.hausbr...@gmx.de> wrote:
> git config gc.rerereresolved "60 days"
> git gc
>
> results in:
[...]
> fatal: bad numeric config value '60 days' for 'gc.rerereresolved': invalid 
> unit
> error: failed to run rerere

It's not entirely clear, but "man git-gc" does seem to suggest -- at
least to me -- that one can say "60 days". Especially after reading
about gc.reflogExpire a few paragraphs earlier, where "90 days" and "3
months" are given as examples. Luckily, "man git-config" is a bit
clearer. It says that "records ... are kept for this many days". The
latter matches the implementation and the tests, which are all written
to work with just an integer.

So "git config gc.rerereresolved 60" should work. Hope that helps.

Martin

Reply via email to