On Sun, Feb 26, 2006 at 03:39:50AM -0500, Jeff Garzik wrote:
Any chance we could get 'git fetch --heads' ?
FWIW, I regularly blow away and create new heads, so the above is rather long for people who use my repos. A lot of them use rsync because when you're tracking a repo with ever-changing branches, 'git pull' doesn't really approximate "make local X look like remote X".
Speaking of which... Shouldn't git clone bring in .git/HEAD for rsync:// URLs?
As it is, we end up with HEAD pointing to refs/master, which might simply
not be there. For git:// we get .git/HEAD same as in remote repository,
so behaviour for rsync:// probably should be the same...
Looks like a missing rsync in git-clone, around
rsync://*)
rsync $quiet -av --ignore-existing \
--exclude info "$repo/objects/" "$GIT_DIR/objects/" &&
rsync $quiet -av --ignore-existing \
--exclude info "$repo/refs/" "$GIT_DIR/refs/" || exit
Comments?