In other words, diff should respect content of .gitignore files across compared folders. This would greatly increase the readability of the comparison of two repositories when there will be no log, cache etc. files which are usually added to .gitignore.