Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@redhat.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: Jim Meyering <jim@meyering.net>, gdb@sourceware.org
Subject: Re: Possible excessive HEAD branch for gdb.git
Date: Fri, 09 Oct 2009 08:55:00 -0000	[thread overview]
Message-ID: <m37hv5osjj.fsf@hase.home> (raw)
In-Reply-To: <20091008211555.GA5939@host0.dyn.jankratochvil.net> (Jan 	Kratochvil's message of "Thu, 8 Oct 2009 23:15:56 +0200")

Jan Kratochvil <jan.kratochvil@redhat.com> writes:

> Hi Jim,
>
> I had some problems with:
>
> $ git clone git://sourceware.org/git/archer.git
              ^^^
> [...]
> $ git pull origin
> From ssh://sourceware.org/git/archer
       ^^^

What did you do in the mean time?

>  + d77cced...e2fb0c1 HEAD       -> origin/HEAD  (forced update)
> Already up-to-date.
> $ git checkout master
> Already on 'master'
> Your branch is ahead of 'origin/master' by 115 commits.
> $ git pull origin
> From ssh://sourceware.org/git/archer
>    e2fb0c1..d77cced  master     -> origin/master
> Already up-to-date.
> $ git checkout master
> Already on 'master'
>
> found out it got fixed by:
>
> $ git push origin :HEAD
> To ssh://sourceware.org/git/archer.git
>  - [deleted]         HEAD
>
> HEAD has no meaning to be present on the server and as one can see in some
> cases it may cause some problems.

HEAD is normally pointing to the branch that will be checked out by git
clone by default.  I don't think your problem was related to the
existence of the HEAD symbolic ref.

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."


  reply	other threads:[~2009-10-09  8:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-08 21:16 Jan Kratochvil
2009-10-09  8:55 ` Andreas Schwab [this message]
2009-10-09 17:28   ` Jan Kratochvil
2009-10-09 19:56     ` Andreas Schwab

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=m37hv5osjj.fsf@hase.home \
    --to=schwab@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    --cc=jim@meyering.net \
    /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