dalehenrich/FSGit — Issue #6: multiple packages per commit
Author: dalehenrich
Created: 2012-02-11 01:04:05+00:00
State: open

If I recall correctly, the model in the MCGitRepository in FSGit performs one commit per package save, but in the work I'm currently doing for Metacello I think that the granularity of commits should allow for multiple packages to be grouped together in a single commit ... so we'll need some sort of staging going on ...

I assume that this type of thing is possible with Git, but I'm curious about your thoughts on this ...

Presumably the commit would be done in an ensure block while the individual packages are written to the repo (staged?)...have to have some error handling to possibly back out of the commit on error, but then we will need to worry about these packages that are no longer dirty but haven't be committed to repo (probably mark them dirty again?) ... solvable but sticky