twosigma / git-meta

Repository for the git-meta project -- build your own monorepo using Git submodules
http://twosigma.github.io/git-meta
BSD 3-Clause "New" or "Revised" License
216 stars 50 forks source link

Consider the index when comparing the tree to worktree during a commit. #834

Closed novalis closed 2 years ago

novalis commented 2 years ago

It turns out that libgit2 has a function for that, which is good, because the alternative involved much painful hacking of git_tree_to_workdir.