Fixed issue #2345: The Show Log dialog's View Patch side window is empty when the Working dir changes line is selected and no file is selected

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Do not report folder status for files

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Fix typo

Regression introduced in commit dff41c2d0fca2d8b70d1f73582492e85371fd54e.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Show diff stat using libgit2

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>