From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6681 invoked by alias); 8 Oct 2009 21:16:11 -0000 Received: (qmail 6661 invoked by uid 22791); 8 Oct 2009 21:16:06 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Oct 2009 21:16:02 +0000 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n98LG0qu020375 for ; Thu, 8 Oct 2009 17:16:00 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n98LFwGc010903 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 8 Oct 2009 17:16:00 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id n98LFvNu006325; Thu, 8 Oct 2009 23:15:57 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id n98LFugC006323; Thu, 8 Oct 2009 23:15:56 +0200 Date: Thu, 08 Oct 2009 21:16:00 -0000 From: Jan Kratochvil To: Jim Meyering Cc: gdb@sourceware.org Subject: Possible excessive HEAD branch for gdb.git Message-ID: <20091008211555.GA5939@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-08-17) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00165.txt.bz2 Hi Jim, I had some problems with: $ git clone git://sourceware.org/git/archer.git [...] $ git pull origin >From ssh://sourceware.org/git/archer + 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. As current archer.git/gdb.git came from local clones/checkouts HEAD was present there. Deleted HEAD now from `archer.git'. Suggesting one should delete it also from gdb.git but: * I see no actual problems HEAD existence would cause for `gdb.git'. * I even tried to do it but it failed for: ssh://sourceware.org/git/gdb.git error: unable to push to unqualified destination: HEAD The destination refspec neither matches an existing ref on the remote nor begins with refs/, and we are unable to guess a prefix based on the source ref. fatal: The remote end hung up unexpectedly error: failed to push some refs to 'ssh://sourceware.org/git/gdb.git' Sorry I did not delete it in advance. Thanks, Jan