Re: Cloning from kernel.org, then switching to another repo

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jon Smirl <jonsmirl@...>
Cc: Johannes Schindelin <Johannes.Schindelin@...>, Git Mailing List <git@...>
Date: Tuesday, November 13, 2007 - 12:48 am

On Mon, Nov 12, 2007 at 11:30:17PM -0500, Jon Smirl wrote:


I assume by "all the scripts" you mean "all of the post-update scripts
in my repositories" and not "all of the hook scripts in this
repository". Because I think some of the included hooks are not suitable
to run without some configuration, which is why they are disabled by
default.


Right. git-init just copies the files from the templates directory
(probably /usr/share/git-core/templates or similar), so if the hook is
not enabled there, it will not be in the new repo. And git ships with
all hooks disabled by default.

cogito used to enable the post-update hook by default for bare repos (if
you called cg-admin-setuprepo), but git never has.

It is mentioned in the "exporting a git repository via http" section of
the user manual.

-Peff
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Cloning from kernel.org, then switching to another repo, Johannes Schindelin, (Mon Nov 12, 10:13 am)
Re: Cloning from kernel.org, then switching to another repo, Johannes Schindelin, (Mon Nov 12, 4:42 pm)
Re: Cloning from kernel.org, then switching to another repo, Johannes Schindelin, (Mon Nov 12, 12:16 pm)
Re: Cloning from kernel.org, then switching to another repo, Johannes Schindelin, (Mon Nov 12, 12:36 pm)
Re: Cloning from kernel.org, then switching to another repo, Jeff King, (Tue Nov 13, 12:48 am)