Initialize member variables

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

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Dropped unused variables

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Show selected revision count as well as selected file count

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Fix compilation warning of last commit

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

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Repository Browser: Allow to copy tree / blob hashes to clipboard

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Fix dereferencing null pointer in git_close_log

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
If longer than MAX_PATH, try to shorten it to reduce crash

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Check null pointer before using

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Allow to use libgit2 for unified diff

Signed-off-by: Frank Li <lznuaa@gmail.com>
Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Fixed issue #1750: Repository Browser fails for empty repository

Repository Browser should not say error if browsing orphan HEAD, just leave it empty like what Log Dialog does

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Make sounds for indicating a warning or error work

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Use GetLibGit2LastErr instead of GetGitLastErr

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

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Fix compilation warnings of gitdll.c

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Repository Browser: Do not show revert, copy path, copy hash menu items if no item selected

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Fix the check for modified files, only ask which one to save if there is more than one view/file modified. If only one is modified, just save that one without asking

Fix regression of 0717f9018e07bd3eaa477878ccef443eb6cff20c

Based on TortoiseSVN revision 24128

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Add copy right block commands

Based on TortoiseSVN revision 24129

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Handle libgit exception when calling GitRev::GetAction()

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