Re: keeping remote repo checked out?
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 1, 2005, 02:43 UTC
- Message-ID
- <7vacflmta9.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <m38xv5r50x.fsf@lugabout.cloos.reno.nv.us>
James Cloos <cloos@jhcloos.com> writes:
Show 5 quoted lines
>>>>>> "Junio" == Junio C Hamano <junkio@cox.net> writes: > > Junio> Creative use of hooks/post-update would solve that. > > I'll have to look into that.
Documentation/howto/rebuild-from-update-hook.txt may help.
I push into the master repository, and its post-update hook checks out the updated "master" head to rebuild the HTML documentation that is shown at
http://kernel.org/pub/software/scm/git/docs/
The checkout happens not in the master repository but in a separate repository by pulling into the latter, since the master is a naked repository without a working tree associated with it.