Re: [GIT PULL] xfs: new code for 5.8 (now with fixed To line)

From: Linus Torvalds
Date: Tue Jun 02 2020 - 22:41:01 EST


On Tue, Jun 2, 2020 at 9:26 AM Darrick J. Wong <djwong@xxxxxxxxxx> wrote:
>
> fs/xfs/xfs_log_recover.c | 2561 ++------------------
> 102 files changed, 4244 insertions(+), 4817 deletions(-)

Interestingly, the changes to that xfs_log_recover.c file really seem
to break the default git diff algorithm (the linear-space Myers'
algorithm)

The default settings give me

fs/xfs/xfs_log_recover.c | 2801 ++------------------
102 files changed, 4366 insertions(+), 4939 deletions(-)

which is not very close to yours. With the extra effort "--minimal" I get

fs/xfs/xfs_log_recover.c | 2561 ++------------------
102 files changed, 4246 insertions(+), 4819 deletions(-)

but based on your output, I suspect you used "--patience", which gives that

fs/xfs/xfs_log_recover.c | 2561 ++------------------
102 files changed, 4244 insertions(+), 4817 deletions(-)

output (the difference there wrt minimal came from
fs/xfs/libxfs/xfs_symlink_remote.c).

I'm used to seeing small differences in the line counts due to
different diff heuristics, but that 250 line difference for
"--patience" is more than you usually get.

None of this matters, and I'm not at all suggesting you change any of
your workflow.

I'm just commenting because I was going "why am I not getting a
matching diffstat", and while I'm used to seeing small differences
from diff algorithms, that 240 line-count change was really a lot more
than I normally encounter.

Linus