Skip to content

Instantly share code, notes, and snippets.

@csware
Last active August 29, 2015 14:16
Show Gist options
  • Save csware/c69e839dfde3a8cc7b13 to your computer and use it in GitHub Desktop.
Save csware/c69e839dfde3a8cc7b13 to your computer and use it in GitHub Desktop.
TGit-Code-Cleanup

CleanupCommand:

  • Move UnescapeQuotePath to StringUtils or UnicodeUtils or CGit? and write tests for it
  • add tests for GetFilesToCleanUp - move parsing code to CTGitPathList or a special class for all parsers?

TGitPath:

  • Move all parsers to a special parser class?
  • Do not call g_Git.Run, git.exe and GetRepository() in TGitPath

CApputils:

  • Move ParseHashesFromLsFile to CGit and write tests for it (/so that we can also make it use libgit2 in the future)

CGit

  • Switch to libgit2 for reading config values

CGitStatusListCtrl

  • find a way for testing

CGitLogListBase

  • find a way for testing, maybe directly test CLogDataVector

CRebaseDlg

  • find a way for testing

CTortoiseGitBlameData::ParseBlameOutput

  • add tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment