From: Junio C Hamano Date: Fri, 19 Mar 2021 16:01:53 GMT Subject: Re: [PATCH v7] format-patch: allow a non-integral version numbers Message-ID: In-Reply-To: "ZheNing Hu via GitGitGadget" writes: > There is a small question: in the case of --reroll-count=, "n" is an > integer, we output "n-1" in the patch instead of "m" specified by > --previous-count=,Should we switch the priority of these two: let "m" > output? In principle, if the end-user can explicitly give an input that may (or may not) contradict what the code would automatically compute, we should treat the latter as a fallback default and use it only when the former is not given. So, I would think the answer is "yes, we should use and not -1, if is given".