From: Jeff King <peff@peff.net>
To: Jon Smirl <jonsmirl@gmail.com>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>,
Git Mailing List <git@vger.kernel.org>
Subject: Re: Cloning from kernel.org, then switching to another repo
Date: Mon, 12 Nov 2007 23:48:11 -0500 [thread overview]
Message-ID: <20071113044810.GA11731@sigill.intra.peff.net> (raw)
In-Reply-To: <9e4733910711122030q7bbf6057ubb6b5b27e1885500@mail.gmail.com>
On Mon, Nov 12, 2007 at 11:30:17PM -0500, Jon Smirl wrote:
> Execute bit was not set. I just set it for all the scripts. +x is not
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.
> getting turned on with a default git init-db. I just made a new repo
> to check, no +x on the scripts.
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
next prev parent reply other threads:[~2007-11-13 4:48 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-12 13:57 Cloning from kernel.org, then switching to another repo Jon Smirl
2007-11-12 14:13 ` Johannes Schindelin
2007-11-12 15:36 ` Jon Smirl
2007-11-12 16:16 ` Johannes Schindelin
2007-11-12 16:22 ` Jon Smirl
2007-11-12 16:36 ` Johannes Schindelin
2007-11-12 17:21 ` Jon Smirl
2007-11-12 17:28 ` Jon Smirl
2007-11-13 4:14 ` Jeff King
2007-11-13 4:20 ` Jeff King
2007-11-13 4:30 ` Jon Smirl
2007-11-13 4:48 ` Jeff King [this message]
2007-11-13 9:52 ` Matthieu Moy
2007-11-13 19:13 ` Junio C Hamano
2007-11-13 19:27 ` Jon Smirl
2007-11-13 19:33 ` Jakub Narebski
2007-11-12 20:31 ` Linus Torvalds
2007-11-12 20:42 ` Johannes Schindelin
2007-11-12 20:54 ` Jon Smirl
2007-11-13 4:23 ` Jeff King
2007-11-13 4:33 ` Jon Smirl
2007-11-12 20:51 ` Jon Smirl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071113044810.GA11731@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=jonsmirl@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).