login
Header Space

 
 

Re: [PATCH] git-commit: exit non-zero if we fail to commit the index

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Brandon Casey <casey@...>
Cc: Git Mailing List <git@...>
Date: Wednesday, January 16, 2008 - 9:13 pm

Brandon Casey <casey@nrlssc.navy.mil> writes:


But then it's a bit too late, isn't it?  We already have
successfully made the commit and updated the HEAD to point at
it.  We would need to tell the user that the index is not where
it is when we detect the error, though.


I think you mean the final post-commit one, but that is
deliberate.  post-commit is not meant to affect the outcome of
the command.
-
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:
Re: [PATCH] git-commit: exit non-zero if we fail to commit t..., Junio C Hamano, (Wed Jan 16, 9:13 pm)
speck-geostationary