git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Finn Arne Gangstad <finnag@pvv.org>
Cc: git@vger.kernel.org
Subject: Re: What's cooking in git.git (Mar 2009, #06; Sat, 21)
Date: Tue, 24 Mar 2009 02:13:18 -0700	[thread overview]
Message-ID: <7vhc1j2si9.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <7vljqv2t05.fsf@gitster.siamese.dyndns.org> (Junio C. Hamano's message of "Tue, 24 Mar 2009 02:02:34 -0700")

Junio C Hamano <gitster@pobox.com> writes:

>   $ git push --dry-run sf.net
>   warning: You did not specify any refspecs to push, and the current remote
>   warning: has not configured any push refspecs. The default action in this
>   warning: case is to push all matching refspecs, that is, all branches
>   warning: that exist both locally and remotely will be updated.  This may
>   warning: not necessarily be what you want to happen.
>   warning:
>   warning: You can specify what action you want to take in this case, and
>   warning: avoid seeing this message again, by configuring 'push.default' to:
>   warning:   'nothing'  : Do not push anythig
>   warning:   'matching' : Push all matching branches (default)
>   warning:   'tracking' : Push the current branch to whatever it is tracking
>   warning:   'current'  : Push the current branch
>   fatal: 'sf.net' does not appear to be a git repository
>   fatal: The remote end hung up unexpectedly
>
> The final, most important error messages are dwarfed out by the warning
> that talks about setting configuration on the remote that does not even
> exist.

Actually, I take it back.  It is still annoying, but the point of these
warning lines is to warn even for a one-off push you make to a place
without having any [remote "sf.net"] entry anywhere in the config.  In the
worst case, the above "sf.net" may even be just a full URL of the remote,
and we do want to trigger the warning.

So this is not even a usability bug.  Sorry for a thinko.

  reply	other threads:[~2009-03-24  9:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-21  7:58 What's cooking in git.git (Mar 2009, #06; Sat, 21) Junio C Hamano
2009-03-21 16:20 ` Wincent Colaiuta
2009-03-21 18:58   ` David Aguilar
2009-03-22 15:57     ` Wincent Colaiuta
2009-03-21 19:28   ` Junio C Hamano
2009-03-22 15:54     ` Wincent Colaiuta
2009-03-21 22:21 ` Johannes Sixt
2009-03-23 14:46 ` Finn Arne Gangstad
2009-03-23 16:19   ` Junio C Hamano
2009-03-24  9:02     ` Junio C Hamano
2009-03-24  9:13       ` Junio C Hamano [this message]
2009-03-24 11:16         ` Finn Arne Gangstad
2009-03-25 18:06           ` 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=7vhc1j2si9.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=finnag@pvv.org \
    --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).