2 ms·
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
by necovek 2y ago
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)
- kruador 2y agoI can't replicate the initial problem, at least pushing to Bitbucket. I'm using Windows, so I didn't use `touch` - instead I used 'echo' to create a new file in a shallow clone of my repo. That repo is 126 MB on Bitbucket, and the shallow clone downloaded 6395 objects taking 40.68 MB. 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.