Remove GitStatus::GetStatusString(), load strings directly

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

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Call git_threads_shutdown() after freeing all global variables

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Can disable TGitCache to load/save cache to disk

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Add CacheSave to Advanced Settings

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Fix broken build since 9c74b645d02e90716b49f01c77dd4332db116508

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
testing issue #1928

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

(cherry picked from commit e8f858bc0449e91446f9144727f4498f83457a6d)

Conflicts:
	src/TortoiseProc/LogDlg.cpp (mine + theirs)
	src/TortoiseProc/resource.h (mine + modified define name and number manually, TortoiseGitProcENG.rc and LogDlg.cpp are modified, too.)

Signed-off-by: Yue Lin Ho <b8732003@student.nsysu.edu.tw>
Fix: Can't reach first selected item when navigating history

Signed-off-by: Yue Lin Ho <b8732003@student.nsysu.edu.tw>
Add new log jump type "History" and navigate history via log jump up/down button

Signed-off-by: Yue Lin Ho <b8732003@student.nsysu.edu.tw>
Fix possible memory leak

Signed-off-by: Yue Lin Ho <b8732003@student.nsysu.edu.tw>
Show message with bold italics if HEAD commit is highlight

Signed-off-by: Yue Lin Ho <b8732003@student.nsysu.edu.tw>
Only adding selection history when a commit is selected

Select a new commit will lead two events,
one is dis-select old commit,
the other one is select new commit.

IOW, no need to add selection history when the old commit is dis-selected.

Signed-off-by: Yue Lin Ho <b8732003@student.nsysu.edu.tw>
Re-write SelectionHistory::Add()

1. Go back to previous one(not current one) when go back the first time
2. Stay at the first selection if GoBack reaching the first one
3. Go back to some commit and click it, then discard the tail of selection history
   * Selection history: A -> B -> C -> D -> E
   * Go back and highlight C
   * Click C
   * D and E will be discard

Signed-off-by: Yue Lin Ho <b8732003@student.nsysu.edu.tw>
Only discarding tail of selection history if historical branch is really occurred

Example:
 * Selection history: A -> B -> C -> D -> E
 * Go back and highlight C
 * Click C
 * D and E will be kept, then
  (1) D and E will be discard when any commit(except C) is clicked
  (2) Navigating history again, and click a new highlight commit
      => history is still kept

Signed-off-by: Yue Lin Ho <b8732003@student.nsysu.edu.tw>
[WIP] Use red text color to highlight history

Also works on DrawTagBranchMessage(),
but I am not sure if it is good!

Signed-off-by: Yue Lin Ho <b8732003@student.nsysu.edu.tw>