git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Reacting to new commits in a poll-mirror
@ 2010-02-02 22:02 martin f krafft
  2010-02-03  1:10 ` martin f krafft
  0 siblings, 1 reply; 4+ messages in thread
From: martin f krafft @ 2010-02-02 22:02 UTC (permalink / raw)
  To: git discussion list

[-- Attachment #1: Type: text/plain, Size: 827 bytes --]

Folks,

I am trying to set up Patchwork-Git integration on host A for
a project whose Git repo is on host B. I thought I could use
a mirror (git clone --mirror) on A and regularly fetch from B, but
I cannot find a way (hook) to make Git on A react to new commits it
fetched from B.

I can probably hack something up, e.g. store refs before a fetch and
then iterate the refs between the stored refs and the HEAD, but this
seems exceedingly hackish and I'd much rather have this information
from git-fetch (like git-push calls post-receive).

Is this at all possible?
Would it be possible?
Where would this be done?

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
the uncertainty principle:
  you can never be sure how many
  beers you had last night.
 
spamtraps: madduck.bogus@madduck.net

[-- Attachment #2: Digital signature (see http://martin-krafft.net/gpg/) --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-03 10:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-02 22:02 Reacting to new commits in a poll-mirror martin f krafft
2010-02-03  1:10 ` martin f krafft
2010-02-03  1:32   ` Junio C Hamano
2010-02-03 10:48     ` martin f krafft

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).