All of lore.kernel.org
 help / color / mirror / Atom feed
* git pull fails to exit with non-zero status after fatal error
@ 2007-03-03 16:45 Larry Streepy
  2007-03-03 18:13 ` Johannes Schindelin
  0 siblings, 1 reply; 8+ messages in thread
From: Larry Streepy @ 2007-03-03 16:45 UTC (permalink / raw)
  To: git

We have just upgraded to 1.5 (don't know if this is specific to 1.5, but 
just in case).  When I perform a git-pull on a working repo that has a 
modified file, git pull refuses to do the pull, as shown below:

$ git pull
Updating b5d9263..506b347
tools/Pvt/Pvt.py: needs update
fatal: Entry 'tools/Pvt/Pvt.py' not uptodate. Cannot merge.
$ echo $?
0

Notice the exit status of 0.  The driver scripts I use rely on a 
non-zero status to send me email when the git-pull fails, but this case 
eludes detection.

I'm assuming this is a bug, but if it's intended behavior I'd like to 
understand why it would use a 0 exit status after a issuing a fatal error.

Thanks,
Larry.

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

end of thread, other threads:[~2007-03-03 22:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-03 16:45 git pull fails to exit with non-zero status after fatal error Larry Streepy
2007-03-03 18:13 ` Johannes Schindelin
2007-03-03 19:27   ` Larry Streepy
2007-03-03 20:56   ` Junio C Hamano
2007-03-03 21:10     ` Johannes Schindelin
2007-03-03 21:23       ` Shawn O. Pearce
2007-03-03 22:17         ` Junio C Hamano
2007-03-03 22:49         ` Johannes Schindelin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.