* push --mirror on post-receive hook?
@ 2011-05-12 21:35 Jordi Bunster
2011-05-13 8:25 ` Ilari Liusvaara
0 siblings, 1 reply; 2+ messages in thread
From: Jordi Bunster @ 2011-05-12 21:35 UTC (permalink / raw)
To: git
Is it safe to call push --mirror $SOME_REMOTE on a post-receive hook?
Is push always safe for the source repo?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: push --mirror on post-receive hook?
2011-05-12 21:35 push --mirror on post-receive hook? Jordi Bunster
@ 2011-05-13 8:25 ` Ilari Liusvaara
0 siblings, 0 replies; 2+ messages in thread
From: Ilari Liusvaara @ 2011-05-13 8:25 UTC (permalink / raw)
To: Jordi Bunster; +Cc: git
On Thu, May 12, 2011 at 02:35:15PM -0700, Jordi Bunster wrote:
> Is it safe to call push --mirror $SOME_REMOTE on a post-receive hook?
> Is push always safe for the source repo?
Yes, it is safe, apart from potential hang if $SOME_REMOTE can't be
contacted (it can take minutes for the TCP connect() to time out).
-Ilari
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-13 8:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-12 21:35 push --mirror on post-receive hook? Jordi Bunster
2011-05-13 8:25 ` Ilari Liusvaara
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).