Git push failure with update hook success

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bill Lear
Date: Wednesday, March 7, 2007 - 9:29 am

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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Git push failure with update hook success, Bill Lear, (Wed Mar 7, 9:29 am)
Re: Git push failure with update hook success, Bill Lear, (Wed Mar 7, 9:46 am)
Re: Git push failure with update hook success, Shawn O. Pearce, (Wed Mar 7, 10:09 am)
Re: Git push failure with update hook success, Bill Lear, (Wed Mar 7, 10:25 am)
Re: Git push failure with update hook success, Shawn O. Pearce, (Wed Mar 7, 10:38 am)
Re: Git push failure with update hook success, Shawn O. Pearce, (Wed Mar 7, 4:09 pm)
Re: Git push failure with update hook success, Bill Lear, (Wed Mar 7, 4:15 pm)
Re: Git push failure with update hook success, Andy Parkins, (Thu Mar 8, 2:22 am)
Re: Git push failure with update hook success, Shawn O. Pearce, (Thu Mar 8, 2:28 am)
Re: Git push failure with update hook success, Junio C Hamano, (Thu Mar 8, 2:54 am)
Re: Git push failure with update hook success, Andy Parkins, (Thu Mar 8, 3:04 am)
Re: Git push failure with update hook success, Shawn O. Pearce, (Thu Mar 8, 3:06 am)