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 06:38:12AM CEST, Petr Baudis wrote:
> 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... 

Ok, so it seems that git-fetch already can do almost all of this; at
least it seems that I'm far from being alone in not realizing it. :-)

With the refspec +refs/heads/*:refs/heads/* and git remote prune
(thanks, Shawn!), it seems that git-fetch can already do everything
git-mirror tries to do, except updating the HEAD, but especially with
the symref embedding in git-ls-remote that Junio proposed, even that
should be fixable easily, right?

-- 
				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]