From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 109215 invoked by alias); 14 Jan 2020 12:13:41 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 109207 invoked by uid 89); 14 Jan 2020 12:13:41 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=ubizjak@gmail.com, ubizjakgmailcom, H*r:Unknown, H*RU:209.85.222.67 X-HELO: mail-ua1-f67.google.com Received: from Unknown (HELO mail-ua1-f67.google.com) (209.85.222.67) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 14 Jan 2020 12:13:31 +0000 Received: by mail-ua1-f67.google.com with SMTP id a12so4703366uan.0 for ; Tue, 14 Jan 2020 04:13:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=svnDyaMuy9iut1cY/bhgSwMoufqjed1vkNDV8q5VtMw=; b=GvcZse1xLENASSO7LT8pIWE13pBxVvBJCzZtsVA02wU+r5fRr5hu0Wu3EBPq/KyFjX jhDfR6t9zQ6A3/MnL7jTcsUvA6K0Br41CKw8Zh9Q61mIPXOdHn4mOXg/M8g78My1ZBPD Qlg2fWr5GzpED6GYf0UHk+U9DUvLTFqcteVsHkaZAWYvW/bHD/3HuDfKN4M8do77/Ca4 2kvE3TCWg922JIH0wYk8UEuL2Pv9fJXo13iMKVU5AMXM0W4qgopb2XZLkRfQp1/rptdY ZfG4VW4+8lHE4PYjZEV5SspJDehxmehjVUTGjVnmqij+9IMjwYMuflj2UEIK7w7v1lYg zFBg== MIME-Version: 1.0 References: In-Reply-To: From: Andrew Pinski Date: Tue, 14 Jan 2020 12:59:00 -0000 Message-ID: Subject: Re: contrib/gcc_update does not work To: Richard Biener Cc: Jonathan Wakely , Uros Bizjak , GCC Development Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00245.txt.bz2 On Tue, Jan 14, 2020 at 4:10 AM Richard Biener wrote: > > On Tue, Jan 14, 2020 at 11:44 AM Jonathan Wakely wrote: > > > > On Tue, 14 Jan 2020 at 10:38, Uros Bizjak wrote: > > > > > > On Tue, Jan 14, 2020 at 11:34 AM Jonathan Wakely wrote: > > > > > > > > On Tue, 14 Jan 2020 at 09:22, Uros Bizjak wrote: > > > > > > > > > > gcc_update, when called from newly initialized and pulled tree does not work: > > > > > > > > Initialized how? > > > > > > 1035 mkdir gcc > > > 1036 cd gcc > > > 1037 git init > > > 1038 git pull https://gcc.gnu.org/git/gcc.git > > > > Don't do that :-) > > I think it's what the wiki still suggests... Yes the wiki does suggest that but the wiki was about using git mirror. "With a normal git repository 'git clone' grabs all branches, but because of the SVN mirror we need to do something more elaborate" :). This is no longer true and even wrong as the branches are in a different location really. Thanks, Andrew > > > You've created an new, empty repository and then filled it with the > > content from gcc.gnu.org/git/gcc but that's not the same as making a > > clone of that repo. You could make it the same, but you'd have to do a > > lot more steps manually. Just use 'git clone'. > > > > > > If you do a 'git clone' then it correctly checks out master and sets > > > > it to track origin/master. > > > > > > I see, I'll try this now.