diff options
author | Patrick Steinhardt <ps@pks.im> | 2021-08-05 13:25:24 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-05 09:37:28 -0700 |
commit | 29ef1f27fed21b5b7d3c996a01f1364e7e841917 (patch) | |
tree | 731b0e3e1af67217820aef485a8aa2ce95f723ae /copy.c | |
parent | The eighth batch (diff) | |
download | tgif-29ef1f27fed21b5b7d3c996a01f1364e7e841917.tar.xz |
revision: separate walk and unsorted flags
The `--no-walk` flag supports two modes: either it sorts the revisions
given as input input or it doesn't. This is reflected in a single
`no_walk` flag, which reflects one of the three states "walk", "don't
walk but without sorting" and "don't walk but with sorting".
Split up the flag into two separate bits, one indicating whether we
should walk or not and one indicating whether the input should be sorted
or not. This will allow us to more easily introduce a new flag
`--unsorted-input`, which only impacts the sorting bit.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'copy.c')
0 files changed, 0 insertions, 0 deletions