diff options
author | Stefan Beller <stefanbeller@gmail.com> | 2014-09-21 22:49:46 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-23 11:29:20 -0700 |
commit | 422af49c2fe707c5e7bff1e4a8250232401154b0 (patch) | |
tree | 9324c7bb97de39a639193145d21ec2a6b51b1c9c /date.c | |
parent | Try normalizing files to avoid delete/modify conflicts when merging (diff) | |
download | tgif-422af49c2fe707c5e7bff1e4a8250232401154b0.tar.xz |
merge-recursive: fix copy-paste mistake
The following issue was found by scan.coverity.com (ID: 1049510),
and claimed to be likely a copy-paste mistake.
Introduced in 331a1838b (2010-07-02, Try normalizing files
to avoid delete/modify conflicts when merging), which is
quite a long time ago, so I'm rather unsure if it's of any impact
or just went unnoticed.
The line after the changed line has a comparison of 'o.len' to 'a.len',
so we should assume the lengths may be different.
I'd be happy to have a test for this bug(?) attached to
t6031-merge-recursive.sh, but I did not manage to
come up with a test in a reasonable amount of time.
Signed-off-by: Stefan Beller <stefanbeller@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'date.c')
0 files changed, 0 insertions, 0 deletions