From: Larry Streepy <larry@lightspeed.com>
To: git@vger.kernel.org
Subject: git pull fails to exit with non-zero status after fatal error
Date: Sat, 03 Mar 2007 10:45:53 -0600 [thread overview]
Message-ID: <45E9A641.8020002@lightspeed.com> (raw)
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.
next reply other threads:[~2007-03-03 16:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-03 16:45 Larry Streepy [this message]
2007-03-03 18:13 ` git pull fails to exit with non-zero status after fatal error 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45E9A641.8020002@lightspeed.com \
--to=larry@lightspeed.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox