diff options
author | Elijah Newren <newren@gmail.com> | 2021-06-08 18:11:41 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-06-09 04:40:04 +0200 |
commit | 356da0f98b2c6631b72e69d8638517dd849d28f8 (patch) | |
tree | 0ea7e8292019e5386086615aba200df412b9cdfe /diffcore-rename.c | |
parent | diffcore-rename: avoid unnecessary strdup'ing in break_idx (diff) | |
download | git-356da0f98b2c6631b72e69d8638517dd849d28f8.tar.xz git-356da0f98b2c6631b72e69d8638517dd849d28f8.zip |
Fix various issues found in comments
A random hodge-podge of incorrect or out-of-date comments that I found:
* t6423 had a comment that has referred to the wrong test for years;
fix it to refer to the right one.
* diffcore-rename had a FIXME comment meant to remind myself to
investigate if I could make another code change. I later
investigated and removed the FIXME, but while cherry-picking the
patch to submit upstream I missed the later update. Remove the
comment now.
* merge-ort had the early part of a comment for a function; I had
meant to include the more involved description when I updated the
function. Update the comment now.
Signed-off-by: Elijah Newren <newren@gmail.com>
Reviewed-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-rename.c')
-rw-r--r-- | diffcore-rename.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/diffcore-rename.c b/diffcore-rename.c index 9c0bc5afb4..eb77e5c4f0 100644 --- a/diffcore-rename.c +++ b/diffcore-rename.c @@ -1544,7 +1544,7 @@ void diffcore_rename_extended(struct diff_options *options, /* all the usual ones need to be kept */ diff_q(&outq, p); else - /* no need to keep unmodified pairs; FIXME: remove earlier? */ + /* no need to keep unmodified pairs */ pair_to_free = p; if (pair_to_free) |