Skip to content

jamieabc/go-git-log-summary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. git object model
  2. git internals

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages