Re: [PATCH] [PATCH] git-mirror - exactly mirror another repository

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 27, 2007 at 04:47:07AM CEST, A Large Angry SCM wrote:
> It would be nice if this had an option to not mirror HEAD and another 
> option to map the refs from (/ref/[^/])/(.*) to /ref/\1/${repo_path}/\2.

When I try to guess why you want this, I think this is just saying "it
would be nice if this was part of git-fetch and if git-fetch actually
did this automagically by default". Because when you clone a given
repository with all its branches, you are naturally interested not only
in the snapshot of the branch set at the point of the clone but more
likely just want "anytime whatever branches are over there". So when
fetching a * refspec it's natural to look for new branches and fetch
them too; and if you do that, it should be pretty easy to also (probably
optionally) remove stale branches.

But heck, maybe with all the nifty fetch--tools git-fetch is already
doing it. But there seems to be basically zero documentation, the code
is not that easy to follow and it's too late for me to be decyphering it
now... 

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Ever try. Ever fail. No matter. // Try again. Fail again. Fail better.
		-- Samuel Beckett
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]