Hi,
I have to generate a list of changes in a git repository over a priod of time. For this, I have noted the commit ID and compare it with the recent HEAD to generate the list of changes in a git repository. For e.g:
$ git diff --name-status OLD_COMMIT..HEAD
This gives a list of modifications in a git repository.
But, recently I noticed a flaw in this approach as it doesn't list out the directory deleted. Though it lists out the deleted files correctly.
How can I get a correct list of deletions in a git repository? (As, if it could list the deleted directory, so it is understood that all the files have been deleted inside it. Hence there won't be a huge list of deleted files but a single line showing the deleted directory!!!)