refactoring view-diff-infos function
Support buffer-local and refactoring
Fixed issue #1

  - exec 'git diff' at repository root directory