When we use
git diff --name-only <first tag>..<second tag>
we've got the list of changed files but by alphabetical order.
What I want is the same list but by commit/merge history order, with older at top and the newest on the bottom.
Is there a native way with a git command/option to do this?
git diffcompares two points in the history, it does not access the history in between (by design). You would have to usegit loginstead but I don’t think there’s a built-in functionality to aggregate the file stats.