When doing a shallow clone in git (using the --depth
option), the root commit is marked as grafted.
Googling didn't lead to any satisfacting documentation.
It doesn't seem to have anything to do with git grafts, which the similar terminology would imply.
Is it just a flag to signal that this commit actually has more parents and isn't the "real" root commit? Or is there something more special about it?