On Sun, Sep 13, 2009 at 12:31:46AM +0300, John Tapsell wrote: > 2009/9/13 Jeff King <peff@xxxxxxxx>: > > > + else > > + echo "Your configuration specified for us to pull the ref" > > + echo "'$upstream_short', but we were unable to fetch it from" > > + echo "the remote." > > Thanks! > > But why was it 'unable' ? Are there cases other than it not existing? > Maybe something less cryptic: > > "Attempted to pull from ref $upstream_short but this branch does not > exist on remote." > > Or something? I'm not sure if there are other cases, so I left it unspecified. I think that "does not exist" is probably the only one that should make it this far, though, as any actual error would cause fetch to die, aborting the pull. And you can see that when you ask for a specific bogus ref, as in: $ git pull origin bogus fatal: Couldn't find remote ref bogus I'll re-roll the patch with more specific wording. -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html