tag:github.com,2008:https://github.com/kiprasmel/git-stacked-rebase/releasesRelease notes from git-stacked-rebase2023-04-03T09:35:46Ztag:github.com,2008:Repository/434759980/re-arrange-commits--before2023-04-03T09:35:46Zre-arrange-commits--before: in between, will have conflicts -- apply fixes to take in question<p>Signed-off-by: Kipras Melnikovas <a href="mailto:kipras@kipras.org">kipras@kipras.org</a></p>kiprasmeltag:github.com,2008:Repository/434759980/re-arrange-commits--after2023-04-03T10:44:55Zre-arrange-commits--after: fix old bugs/wrong behavior in `applyIfNeedsToApply` & related logic<p>previously, in <code>gitStackedRebase</code>, there were 3 invocations of<br>
<code>applyIfNeedsToApply</code>. there are still 3, but what differs is:</p>
<p>previously, the 3rd would be invoked if and only if the<br>
<code>config.autoApplyIfNeeded</code> was true, i.e., it was NOT mandatory.</p>
<p>however, the 1st invocation, which also is NOT mandatory, did not have<br>
such guardrail, and, if the <code>config.autoApplyIfNeeded</code> was false, would<br>
prompt the user with the common message:<br>
<code>need to --apply before continuing. proceed? [Y/n/(a)lways] </code></p>
<p>this is wrong, because this (1st) invocation is not mandatory, meanwhile<br>
the message makes it look like it is, thus confusing the user &<br>
their longer term understanding of when an --apply is actually needed.</p>
<p>to further add to the confusion, the 1st invocation worked correctly<br>
apart from the message - it (1st invoc) was not made mandatory, i.e.<br>
would not stop the program execution if user did not allow.</p>
<hr>
<p>now, there's a clear distinction of mandatory vs not,<br>
and <code>applyIfNeedsToApply</code> works accordingly to it.<br>
related parts were also cleaned up.</p>
<p>also, created a test for this -- yay!</p>
<p>Signed-off-by: Kipras Melnikovas <a href="mailto:kipras@kipras.org">kipras@kipras.org</a></p>kiprasmeltag:github.com,2008:Repository/434759980/v0.6.12021-12-26T18:37:53Zv0.6.1<p>v0.6.1</p>kiprasmeltag:github.com,2008:Repository/434759980/v0.6.02021-12-22T03:00:31Zv0.6.0<p>v0.6.0</p>kiprasmeltag:github.com,2008:Repository/434759980/v0.5.22021-12-22T02:23:02Zv0.5.2<p>v0.5.2</p>kiprasmeltag:github.com,2008:Repository/434759980/v0.5.12021-12-22T01:35:20Zv0.5.1<p>v0.5.1</p>kiprasmeltag:github.com,2008:Repository/434759980/v0.5.02021-12-20T04:38:32Zv0.5.0<p>v0.5.0</p>kiprasmeltag:github.com,2008:Repository/434759980/v0.4.12021-12-19T18:30:19Zv0.4.1<p>v0.4.1</p>kiprasmeltag:github.com,2008:Repository/434759980/v0.4.02021-12-19T17:44:00Zv0.4.0<p>v0.4.0</p>kiprasmeltag:github.com,2008:Repository/434759980/v0.3.12021-12-19T17:08:14Zv0.3.1<p>v0.3.1</p>kiprasmel