Skip to content

Instantly share code, notes, and snippets.

@csware
csware / gist:c69e839dfde3a8cc7b13
Last active August 29, 2015 14:16
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)
@afternoon
afternoon / git-slim.py
Created December 5, 2011 14:42
Remove large objects from a git repository
#!/usr/bin/python
#
# git-slim
#
# Remove big files from git repo history.
#
# Requires GitPython (https://github.com/gitpython-developers/GitPython)
#
# References:
# - http://help.github.com/remove-sensitive-data/