git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Daniel Barkalow <barkalow@iabervon.org>
Cc: Dan McGee <dpmcgee@gmail.com>, git@vger.kernel.org
Subject: Re: Update local tracking refs when pushing- no way to disable
Date: Fri, 6 Jul 2007 13:46:34 +0100 (BST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0707061340350.4093@racer.site> (raw)
In-Reply-To: <Pine.LNX.4.64.0707052320090.14638@iabervon.org>

Hi,

On Thu, 5 Jul 2007, Daniel Barkalow wrote:

> What git-fetch and git-push care about is whether you have an entry 
> "remote.<name>.fetch" with a colon and stuff on the right of it. If so, 
> this is a pattern that is used to generate the duplicate branch heads 
> that you don't want. git clone sets it up to a default pattern 
> (refs/remotes/origin/*), and I don't think there's any way to make it 
> not do that, but you can just reconfigure it afterwards if you don't 
> like it.

Related, but not identical, is the problem illustrated in 
http://thread.gmane.org/gmane.comp.version-control.git/49888

IMHO there is a bug. IIUC git push first looks for common ref names on the 
local and remote side (yes, refs/remotes are excluded since v1.5.3-rc0~9, 
but the underlying problem is still there). Then it pushes them. But here, 
something seems to have gone wrong: refs/remotes/origin/HEAD is a symref. 
And the corresponding ref is updated. Should git-push not just _not_ 
update symrefs?

Ciao,
Dscho

  parent reply	other threads:[~2007-07-06 12:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-06  0:22 Update local tracking refs when pushing- no way to disable Dan McGee
2007-07-06  1:17 ` Johannes Schindelin
2007-07-06  1:31 ` Junio C Hamano
2007-07-06  3:37 ` Daniel Barkalow
2007-07-06  8:26   ` Marco Costalba
2007-07-06  8:42     ` Shawn O. Pearce
2007-07-06 12:46   ` Johannes Schindelin [this message]
2007-07-06 18:56     ` Daniel Barkalow
2007-07-06 18:59       ` Johannes Schindelin
2007-07-06 19:20         ` Daniel Barkalow
2007-07-06 19:46           ` Johannes Schindelin
2007-07-06 13:20   ` Dan McGee

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.0707061340350.4093@racer.site \
    --to=johannes.schindelin@gmx.de \
    --cc=barkalow@iabervon.org \
    --cc=dpmcgee@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).