Situation: I have an old commit that I need to merge selectively with the latest commit. Some files have no changes and other files have significant changes that I need to review and merge selectively.
Let's say that the old commit 1
had files A
, B
, C
.
The latest commit 5
has involved changing files B
and C
since commit 1
and also added files D
, E
and F
.
So between commits 1
and 5
files B
and C
have changed, that is, running diff
on 1:B
and 5:B
; and on 1:C
and 5:C
would show differences.
I need to get filenames B
and C
only.
That is, all files not belonging to 1
but changed or added until and including 5
should NOT show up.