From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25638 invoked from network); 3 Jan 2022 20:01:46 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 3 Jan 2022 20:01:46 -0000 Received: from odoacer.turtle-trading.net ([93.241.193.16]) by 4ess; Mon Jan 3 14:47:39 -0500 2022 Received: from zenobia.turtle-trading.net ([192.168.2.111]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1n4TIc-00037r-1L; Mon, 03 Jan 2022 20:47:18 +0100 Received: from benny by zenobia.turtle-trading.net with local (Exim 4.94.2) (envelope-from ) id 1n4TIb-000UhQ-PM; Mon, 03 Jan 2022 20:47:17 +0100 From: Benjamin Riefenstahl To: Philip Silva Cc: 9front@9front.org References: <87sfu4yhex.fsf@turtle-trading.net> Date: Mon, 03 Jan 2022 20:47:17 +0100 In-Reply-To: (Philip Silva's message of "Mon, 03 Jan 2022 16:59:39 +0000") Message-ID: <87ilv0a9fe.fsf@turtle-trading.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: configuration configuration-aware lifecycle-based database Subject: Re: [9front] Git multiple remotes Reply-To: 9front@9front.org Precedence: bulk Hi Philip. Thanks for confirming what I thought. So this is what I did (slightly edited): term% cat /.git/config [core] repositoryformatversion = p9.0 [remote "origin"] url=gits://git.9front.org/plan9front/plan9front [remote "host"] url=ssh://benny@host/home/benny/Projects/plan9front This URL works from the host with "host" replaced with the actual IP address. The SSH access from my 9front VM also works with "ssh benny@host hostname". term% git/pull -u host git/query: resolve: invalid ref remotes/host/front git/query: resolve: invalid ref remotes/host/front git/query: resolve: invalid ref remotes/host/front ours: facb0e757ac63f763bd942a2714f979538b99eb0 git/query: resolve: invalid ref remotes/host/front theirs: git/query: resolve: invalid ref remotes/host/front common: git/merge remotes/host/front term% git/branch -a heads/front remotes/THEM/front remotes/origin/front I expected remotes/host/front in that list. git/pull also seems to expect that, s.a. term% git/query origin/front front host/front git/query: resolve: invalid ref host/front term% git/query origin/front front acc504c319a4b4188479cfa602e40cb6851c0528 facb0e757ac63f763bd942a2714f979538b99eb0 Note that host/front is actually at f63d1d3ce at this time. I try an explict fetch: term% cd / term% git/fetch -u host ssh://benny@host/home/benny/Projects/plan9front uri: "ssh://benny@host/home/benny/Projects/plan9front" symref HEAD refs/heads/front But this does not change anything. Anything else I could try or add? TIA, benny