git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git push failure with update hook success
@ 2007-03-07 16:29 Bill Lear
  2007-03-07 16:46 ` Bill Lear
  0 siblings, 1 reply; 12+ messages in thread
From: Bill Lear @ 2007-03-07 16:29 UTC (permalink / raw)
  To: git

We seem to have a few permission problems using git through ssh that
we hopefully will resolve.  However, in the course of this, we have
noticed that our update hook runs with no errors, sends out a
confirmation email, but the push to our repo fails (we found that the
log file had improper permissions due to umask botchitude).

So, I surmised that the rough order of things is on our git company
repo is:

o receive the git "package" from the person who is pushing it
o call the update hook, telling it the package that is coming in
o the update hook examines things, forms an email, and sends it out
o the rest of the git machinery then actually applies the changes,
  logs them, etc., but fails (after the email is long gone), and
  on the remote (client) side, the push fails.
o the user gets a confirmation email that the push went ok

So, I was wondering if this is correct (more or less) and if so
whether it might be better to call the update hook after everything
had actually been written, including the log file.


Bill

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

end of thread, other threads:[~2007-03-08 10:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-07 16:29 Git push failure with update hook success Bill Lear
2007-03-07 16:46 ` Bill Lear
2007-03-07 17:09   ` Shawn O. Pearce
2007-03-07 17:25     ` Bill Lear
2007-03-07 17:38       ` Shawn O. Pearce
2007-03-07 23:09       ` Shawn O. Pearce
2007-03-07 23:15         ` Bill Lear
2007-03-08  9:22       ` Andy Parkins
2007-03-08  9:28         ` Shawn O. Pearce
2007-03-08  9:54           ` Junio C Hamano
2007-03-08 10:04           ` Andy Parkins
2007-03-08 10:06             ` Shawn O. Pearce

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