4 ms·
I think the git file structure technically supports cycles, you just need to break sha-1 to do it. I don't think the tooling is made for it either.
by elsjaako 11y ago
I think the git file structure technically supports cycles, you just need to break sha-1 to do it.
I don't think the tooling is made for it either.
- wereHamster 11y agoThe low level tooling can do that. When creating a commit you can pass arbitrary parents to the command. But as you said you'd need to break sha1. > git commit-tree <tree> [(-p <parent>)...] < changelog
- ynik 11y ago.git/info/grafts allows creating cycles without having to break sha-1.