I unadvertedly change the permissions of my entire tree and commit that change alone with other content changes.
I use something like :
tar -czf deploy.tar git diff --name-only v1 v2
to generate a tar with the modified files between two tags, the problem is that now because of the permissions change almost all my tree is listed as modified.
Is there a way that i could tell git diff
to ignore those files which only has the permissions changed?