This repo is to summarize git commit behavior.
For some reason, git might pack data to save disk space, and it will cause parsing additional overhead. My goal is to find better statics of specific directory but not learning internal of git, so I find another way to solve the problem of git packing data.
At root of repository, type following commands to unpack git objects:
git gc
mv .git/objects/pack .
git unpack-objects < pack/*.pack
rm -rf pack
echo $(git rev-parse master) > .git/refs/heads/master
Usage: log-summary -p path
path is absolute path to repository.
reference about git internals