> git clone --depth=1 (you can also put that into your repos.conf, the > option is called 'sync-depth'). --depth is also available for regular pulls. ``` $ LC_ALL=C git clone --depth=1 git://git.gentoo.org/repo/gentoo.git Cloning into 'gentoo'... remote: Counting objects: 113359, done. remote: Compressing objects: 100% (99921/99921), done. Receiving objects: 17% (19272/113359), 7.32 MiB | 30 KiB/s # <connection freezed here and dropped by user (after "ethernity" of waiting) or by timeout (although I tried to wait almost hour, and can't get it dropped by itself, but hear about that from another people with bad internet connection>
$ LC_ALL=C ls gentoo ls: cannot access gentoo: No such file or directory ``` So? How should I sync then? Git can *not* sync file by file, while rsync can. > And thanks for calling me selfish for trying to make it possible for > users to directly use a git checkout as the local tree. I appreciate it. :) No. Making it *possible* for all users to use git (instead of old cvs+rsync behaviour) is a great thing and you're awesome in making it *possible*. But do not be authoritarian and do not *force* (!) users to "use only git and forget about rsync". I called you selfish not for doing good things like introducing possibility to use git, but for authoritarian thinking, that all users has as good internet connection (taking that thread) or tech. knowledge (talking prev. threads) as you. They are not. At least, far not always.