3 ms·
In theory, you could implement commit groups already in one of two ways: objects in a special ref that are just lists of commit hashes (tree-style) or a branch
by fiddlerwoaroof 5y ago
In theory, you could implement commit groups already in one of two ways: objects in a special ref that are just lists of commit hashes (tree-style) or a branch where every commit has, in addition to the last HEAD of the branch, all the other commits in the group as parents.
- fiddlerwoaroof 5y agoHere's a demo of this idea: https://github.com/fiddlerwoaroof/git-group-demo https://github.com/fiddlerwoaroof/git-group-demo the network graph shows what's going on: https://github.com/fiddlerwoaroof/git-group-demo/network https://github.com/fiddlerwoaroof/git-group-demo/network