From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Francis Moreau <francis.moro@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: git describe origin ?
Date: Sat, 7 Jul 2007 18:14:58 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0707071812570.4093@racer.site> (raw)
In-Reply-To: <38b2ab8a0707070953s33ca0d1aw879fd3d1a986aaeb@mail.gmail.com>
Hi,
On Sat, 7 Jul 2007, Francis Moreau wrote:
> On 7/7/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> > On Sat, 7 Jul 2007, Francis Moreau wrote:
> >
> > > I also played with git remote and did something silly like:
> > > $ git remote add bob /tmp/dummy # dummy does not exist
> > > $ git remote show bob
> > > fatal: '/tmp/dummy': unable to chdir or not a git archive
> > > fatal: The remote end hung up unexpectedly
> > > ls-remote --heads /tmp/dummy: command returned error: 1
> > >
> > > Maybe the output could be improved to be more readable.
> >
> > The first line is very helpful IMHO:
> >
> > fatal: '/tmp/dummy': unable to chdir or not a git archive
> >
>
> yep but the 2 others are just noise, aren't they ?
There are actually four programs involved, it seems. You get an error
message from all except "git remote".
> BTW, shouldn't "git remote add" have complained at first ?
No. Sometimes the URL is not yet available, yet, you want to add it for
later reference (think bundles). Sometimes you are simply offline.
Ciao,
Dscho
next prev parent reply other threads:[~2007-07-07 17:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-07 15:51 git describe origin ? Francis Moreau
2007-07-07 16:33 ` Johannes Schindelin
2007-07-07 16:53 ` Francis Moreau
2007-07-07 17:14 ` Johannes Schindelin [this message]
2007-07-07 17:27 ` Francis Moreau
2007-07-08 13:51 ` Francis Moreau
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=Pine.LNX.4.64.0707071812570.4093@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=francis.moro@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).