Wishlist for a bundle-only transport mode
- From
- Santi Béjar <sbejar@gmail.com>
- Date
- Nov 21, 2007, 14:54 UTC
- Message-ID
- <8aa486160711210654p357ccd87i4809e0cda9471303@mail.gmail.com>
Hi *,
I have to work in a bundle-only mode, but there are some problems with it, namely:
1) git-clone does not accept a bundle file, even if git-fetch does. I've made a patch to use git-fetch in git-clone for this.
2) The bundles created with "git bundle" does not record the HEAD, they resolve the symbolic name to a branch name.
3) I can "git fetch" a bundle but I cannot "git push" a bundle, so if I have:
[remote "bundle"] url = /file/to/bundle fetch = "+refs/heads/*:refs/remotes/bundle/*"
$ git push bundle
would create a bundle in /file/to/bundle with the same branches as a normal git push, but considering the remote branches as the local remotes/bundle/*
Thank you
Santi