From: Johannes Schindelin Date: Sat, 07 Jul 2007 17:14:58 GMT Subject: Re: git describe origin ? Message-ID: In-Reply-To: <38b2ab8a0707070953s33ca0d1aw879fd3d1a986aaeb@mail.gmail.com> Hi, On Sat, 7 Jul 2007, Francis Moreau wrote: > On 7/7/07, Johannes Schindelin 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