diff options
| author | Derrick Stolee <dstolee@microsoft.com> | 2021-02-01 12:47:23 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-02-01 11:50:33 -0800 |
| commit | 0fac15652322e607ef3cb9f59e46ca2b168e933a (patch) | |
| tree | 0b9b05bd4e99895d63adf61e872cf307998baf5a /builtin/diff-files.c | |
| parent | doc: add corrected commit date info (diff) | |
| download | git-0fac15652322e607ef3cb9f59e46ca2b168e933a.tar.gz git-0fac15652322e607ef3cb9f59e46ca2b168e933a.zip | |
commit-reach: reduce requirements for remove_redundant()
Remove a comment at the beggining of remove_redundant() that mentions a
reordering of the input array to have the initial segment be the
independent commits and the final segment be the redundant commits.
While this behavior is followed in remove_redundant(), no callers rely
on that behavior.
Remove the final loop that copies this final segment and update the
comment to match the new behavior.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff-files.c')
0 files changed, 0 insertions, 0 deletions
