From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Ping Yin <pkufranky@gmail.com>
Cc: gitster@pobox.com, git@vger.kernel.org
Subject: Re: [PATCH] git-submodule: Don't die when command fails for one submodule
Date: Tue, 4 Mar 2008 15:01:28 +0000 (GMT) [thread overview]
Message-ID: <alpine.LSU.1.00.0803041500170.22527@racer.site> (raw)
In-Reply-To: <1204641314-2726-1-git-send-email-pkufranky@gmail.com>
Hi,
On Tue, 4 Mar 2008, Ping Yin wrote:
> When handling multiple modules, init/update/status command will exit
> when it fails for one submodule. This patch makes the command continue
> bypassing the failure.
I think that you should not do this. The failure should not be ignored.
Maybe continuing, but not forgetting about the error. So:
> - name=$(module_name "$path") || exit
> + name=$(module_name "$path") || continue
I do not like this. It should remember that there was something foul, and
eventually exit with that status.
Ciao,
Dscho
next prev parent reply other threads:[~2008-03-04 15:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-04 14:35 [PATCH] git-submodule: Don't die when command fails for one submodule Ping Yin
2008-03-04 15:01 ` Johannes Schindelin [this message]
2008-03-04 16:00 ` Ping Yin
2008-03-04 16:03 ` Johannes Schindelin
2008-03-04 16:06 ` Ping Yin
2008-03-04 16:13 ` Johannes Schindelin
2008-03-04 20:32 ` Junio C Hamano
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=alpine.LSU.1.00.0803041500170.22527@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=pkufranky@gmail.com \
/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