]> git.ipfire.org Git - thirdparty/git.git/commit
diffcore-rename: treat a rename_limit of 0 as unlimited
authorElijah Newren <newren@gmail.com>
Thu, 15 Jul 2021 00:45:23 +0000 (00:45 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Jul 2021 23:54:24 +0000 (16:54 -0700)
commit9dd29dbef01e39fe9df81ad9e5e193128d8c5ad5
tree720a05e253247769db392f180d9f6442ffa022ad
parent6623a528e00b73f5438724a355c43343d3de8652
diffcore-rename: treat a rename_limit of 0 as unlimited

In commit 89973554b52c (diffcore-rename: make diff-tree -l0 mean
-l<large>, 2017-11-29), -l0 was given a special magical "large" value,
but one which was not large enough for some uses (as can be seen from
commit 9f7e4bfa3b6d (diff: remove silent clamp of renameLimit,
2017-11-13).  Make 0 (or a negative value) be treated as unlimited
instead and update the documentation to mention this.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-options.txt
diffcore-rename.c