From: Michael Krelin <hacker@klever.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: monotone/git (was hello...)
Date: Thu, 04 Oct 2007 22:53:44 +0200 [thread overview]
Message-ID: <470552D8.30003@klever.net> (raw)
In-Reply-To: <b6ebd0a50710041318q74838eeesdb7dcf055548e52a@mail.gmail.com>
>> \>> Wait, how do you execute a hook when pushing via webdav?
>>> post-update is executed in the remote repository when pushing to it.
>>> In fact, the default post-update script in a new git init'd repository
>>> is just a script that calls git-update-server-info, so all you have to
>>> do is chmod +x foo.git/hooks/post-update and call it a day. It works
>>> just fine.
>> *Who* executes post-update script when you push to remote repository via
>> webdav?
>
> Sorry, my mistake on the mechanisms. The hook is only used,
> obviously, when pushing over ssh, since you can't run a script
> remotely over http. It's just that git-http-push is smart enough to
> update the remote info/* if the files already exist (run
> git-update-server-info on the remote side once).
Good for the record, after we sorted it out on IRC. So, yes, it's
theoretically possible, we'd all want to avoid it and I have no idea
about its performance, which would probably need more elaborate
research. I doubt, though, that onyone wants to conduct such a research
at the moment ;-)
Love,
H
next prev parent reply other threads:[~2007-10-04 20:59 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-04 10:41 hello Tobias Pflug
2007-10-04 11:18 ` hello Michael Krelin
2007-10-04 12:40 ` hello Holger Freyther
2007-10-04 12:55 ` monotone/git (was hello...) Tobias Pflug
2007-10-04 13:27 ` Holger Freyther
2007-10-04 13:50 ` Darcy Watkins
2007-10-04 13:52 ` Michael Krelin
2007-10-05 6:28 ` oe for two target boards at the same time Alex
2007-10-05 13:57 ` Cliff Brake
2007-10-05 15:47 ` Khem Raj
2007-10-06 8:19 ` Koen Kooi
2007-10-06 11:39 ` Marcin Juszkiewicz
2007-10-08 20:20 ` Cliff Brake
2007-10-09 8:28 ` Koen Kooi
2007-10-09 9:02 ` pHilipp Zabel
2007-10-09 10:36 ` Richard Purdie
2007-10-09 11:18 ` Graeme Gregory
2007-10-09 11:49 ` Graeme Gregory
2007-10-09 16:52 ` Paul Sokolovsky
2007-10-09 16:48 ` Paul Sokolovsky
2007-10-04 18:02 ` monotone/git (was hello...) Richard Purdie
2007-10-04 13:51 ` Michael Krelin
2007-10-04 13:30 ` Michael Krelin
2007-10-04 18:36 ` Chris Larson
2007-10-04 18:49 ` Tim Bird
2007-10-04 18:57 ` Chris Larson
2007-10-04 19:11 ` Michael Krelin
2007-10-04 19:27 ` Chris Larson
2007-10-04 19:39 ` Michael Krelin
2007-10-04 20:18 ` Chris Larson
2007-10-04 20:53 ` Michael Krelin [this message]
2007-10-04 19:08 ` Michael Krelin
2007-10-04 19:28 ` Chris Larson
2007-10-04 13:19 ` hello Michael Krelin
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=470552D8.30003@klever.net \
--to=hacker@klever.net \
--cc=openembedded-devel@lists.openembedded.org \
/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