Skip to content

Instantly share code, notes, and snippets.

@YueLinHo
Forked from csware/gist:c69e839dfde3a8cc7b13
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YueLinHo/1d98fe4274bb73213486 to your computer and use it in GitHub Desktop.
Save YueLinHo/1d98fe4274bb73213486 to your computer and use it in GitHub Desktop.

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

  • write more tests for methods

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

Clone command

  • add tests to check performance which mentioned in libgit2 issue 2836 (Very slow cloning of "file://" repository format)

gitdll - testing list

  • CGit
    • GetConfigValue()
    • SetConfigValue()
    • UnsetConfigValue()
    • GetOneFile() (turn off GIT_CMD_GETONEFILE)
    • RefreshGitIndex()
    • GetDiffPath()
    • GetGitDiff()
    • GetGitSimpleListDiff()
    • GetDiffPath()
  • GitRev
    • GetCommit() (turn off GIT_CMD_GET_COMMIT)
    • GetParentFromHash()
    • GetCommitFromHash()
    • ParserParentFromCommit()
  • GitRevLoglist
    • SafeGetSimpleList()
    • SafeFetchFullInfo()
    • ~GitRevLoglist()
  • CGitLogListBase
    • BeginFetchLog()
    • LogThread()
  • CLogDataVector
    • ParserFromLog()
    • Fill()

TBC

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