As I mention in the comments, "How do I find common files changed between git branches?" is the main solution here:
git log [--pretty=<format>] --name-only tag1..tag2
or
git diff --name-only tag1 tag2
(Also mentioned in Gitology recipe)
BUT: as mentioned in "How to get a list of directories deleted in my git repository?", Git only tracks content of files, not directories themselves.
To include informations about directories, you need to start playing with git diff-tree
.
any directory that has been created or removed will have 040000
in the second or first column and 000000
in the first or second column respectively. This are the tree entry 'modes' for the left and right entries.
Something like (according to Charles Bailey):
git diff-tree -t origin/master master | grep 040000 | grep -v -E '^:040000 040000'
clearfsimport
will be required. I recommend a dynamic view. See https://mcmap.net/q/880442/-sync-git-and-clearcase/… for more. – Crutchfield