From: Junio C Hamano <hidden> Date: 2016-06-15 22:42:14
Petr Baudis [off-list ref] writes:
Except that I cannot do the guessing git-clone-pack does (without
fetching all the branches)
Exactly my point. If you are not getting all the branches, you
are not cloning but doing something else.
Extending git-fetch-pack would be the right approach if that is
what you are trying to do.