I'm trying to get the files changed in a particular folder between two tags, but it seems every time below command gives difference in sub-folders as well.
Suppose, a folder path is:
A/B/C/D/E
- then running below from within C
also gives files changed in D
and E
- where I want just the files changed in C
from where I issued below command:
C> git diff tag1 tag2 --stat
C> git diff tag1 tag2 --stat -- .
C> git diff tag1 tag2 --stat -- ../C
All above gives file changed in D
and E
as well.