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 19:59:58 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0707061958540.4093@racer.site> (raw)
In-Reply-To: <Pine.LNX.4.64.0707061440050.14638@iabervon.org>
Hi,
On Fri, 6 Jul 2007, Daniel Barkalow wrote:
> On Fri, 6 Jul 2007, Johannes Schindelin wrote:
>
> > 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?
>
> I believe this actually have nothing to do with git-push; it's actually
> git-receive-pack and maybe git-send-pack. Probably git-receive-pack
> shouldn't list symrefs at all, or should somehow report them as links so
> that they can be compared as links. The only refs that git-push itself
> updates are tracking refs on the local side for refs on the remote side
> which were updated. In the report, the reporter had (obviously) not
> configured any local tracking refs for the remote's tracking refs.
Sorry, I think I did not make myself clear. The updates refs were _local_
refs. And they _were_ symrefs.
Ciao,
Dscho
next prev parent reply other threads:[~2007-07-06 19:07 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
2007-07-06 18:56 ` Daniel Barkalow
2007-07-06 18:59 ` Johannes Schindelin [this message]
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.0707061958540.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).