summaryrefslogtreecommitdiff
path: root/t/unit-tests
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-11-24 12:10:35 +0100
committerJunio C Hamano <gitster@pobox.com>2023-11-26 10:10:48 +0900
commit8259e4154f46de5b3443a3ff7b1cc4441ec6b7df (patch)
treea8e08a6ba6037c55374fdab7d6bd666811eb1b3b /t/unit-tests
parente787e664da640d1d4b15c6dc67a704dfa56592f9 (diff)
replay: change rev walking options
Let's force the rev walking options we need after calling setup_revisions() instead of before. This might override some user supplied rev walking command line options though. So let's detect that and warn users by: a) setting the desired values, before setup_revisions(), b) checking after setup_revisions() whether these values differ from the desired values, c) if so throwing a warning and setting the desired values again. We want the command to work from older commits to newer ones by default. Also we don't want history simplification, as we want to deal with all the commits in the affected range. Helped-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Co-authored-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests')
0 files changed, 0 insertions, 0 deletions