I like the fact that none of this was tested, even if described with such authority :)
Anyone try it out yet?
(Not that I don't trust it, but I usually fetch the full history locally anyway)
Anyone try it out yet?
(Not that I don't trust it, but I usually fetch the full history locally anyway)
I've tried with a new file both having content ('Test shallow clone push'), and again with an empty file. In both cases it pushed 3 objects, and in the empty file case it reused one (it turns out my repo already has some empty files in it).
It's always possible that this is (or was) a GitHub bug - I haven't tried it there.