From: Jakub Narebski <jnareb@gmail.com>
To: git@vger.kernel.org
Subject: Re: git-fetch question/bug
Date: Fri, 14 Mar 2008 08:52:58 +0100 [thread overview]
Message-ID: <frdasr$v81$1@ger.gmane.org> (raw)
In-Reply-To: 7vbq5hub74.fsf@gitster.siamese.dyndns.org
Junio C Hamano wrote:
> "Govind Salinas" <blix@sophiasuchtig.com> writes:
>
>> ... git-fetch when I discovered that it does not return
>> error when the
>> fetch fails due to it not being a ff...
>
> I think this is a regression introduced when "git-fetch" was
> re-implemented in C. git-fetch--tool's native-store subcommand seems to
> have signaled this as an error, and it is reasonable to expect an error
> exit from the command in this case.
>
> Probably something like this?
[...]
Wouldn't it be better to distinguish somehow remote side errors (like for
example: could not connect to remote server) and local side errors (like
fetch refused because of being not fast-forward)? The former are usually
not recoverable (unless it is URL that is mistyped), the latter could be
usually resolved (forced for example)...
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
next prev parent reply other threads:[~2008-03-14 7:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-14 5:08 git-fetch question/bug Govind Salinas
2008-03-14 5:27 ` Junio C Hamano
2008-03-14 7:52 ` Jakub Narebski [this message]
2008-03-14 15:57 ` Daniel Barkalow
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='frdasr$v81$1@ger.gmane.org' \
--to=jnareb@gmail.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 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.