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>
Cleanup: Drop unused gitpath parameter from (S|G)etConfig-methods

Signed-off-by: Sven Strickroth <email@cs-ware.de>
CreateRepository: Do not warn for non-empty folder if non-bare

If the folder already includes a .git folder, libgit2 complains and a rollback can easily be done by removing the .git folder.

(fixes issue #1743)

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Remove the SVN prefix in Tortoise_zh_CN.po

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Merge pull request #1 from TortoiseGit/master

TortoiseGit