9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] Another git/pull bug
@ 2025-02-15  2:41 James Cook
  2025-02-15  2:47 ` ori
  0 siblings, 1 reply; 2+ messages in thread
From: James Cook @ 2025-02-15  2:41 UTC (permalink / raw)
  To: 9front

(As far as I know, this is unrelated to the bug in my last email.)

If the default remote is a bare git repo behind an ssh: url (with
the official git client on the remote host), and there's nothing
to pull, and I run git/pull, I see:
	/bin/git/pull: get 37322: sys: write on closed pipe pc=0x21120a

To reproduce:
- On foohost, create a bare git repo at /home/$user/bar.git and make sure it has some commits.
- On 9front: git/clone ssh://foohost/home/$user/bar; cd bar; git/pull

I did a tiny bit of debugging, to find that this command:

	git/get -uorigin ssh://foohost/home/$user/bar

outputs only

	uri: "ssh://moth-openbsd/home/falsifian/bar"
	symref HEAD refs/heads/main

where normally (e.g. with a non-bare git repo) it will also output lines like

	remote HEAD ...
	remote refs/heads/master ...

-- 
James

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9front] Another git/pull bug
  2025-02-15  2:41 [9front] Another git/pull bug James Cook
@ 2025-02-15  2:47 ` ori
  0 siblings, 0 replies; 2+ messages in thread
From: ori @ 2025-02-15  2:47 UTC (permalink / raw)
  To: 9front

I can't reproduce this one:

	cpu% git/clone ssh://eigenstate.org/home/ori/git-priv/e.git
	fetching... |
	indexing 63 objects: 100%
	checking out repository...
	cpu% cd e
	cpu% git/pull
	up to date


Quoth James Cook <falsifian@falsifian.org>:
> (As far as I know, this is unrelated to the bug in my last email.)
> 
> If the default remote is a bare git repo behind an ssh: url (with
> the official git client on the remote host), and there's nothing
> to pull, and I run git/pull, I see:
> 	/bin/git/pull: get 37322: sys: write on closed pipe pc=0x21120a
> 
> To reproduce:
> - On foohost, create a bare git repo at /home/$user/bar.git and make sure it has some commits.
> - On 9front: git/clone ssh://foohost/home/$user/bar; cd bar; git/pull
> 
> I did a tiny bit of debugging, to find that this command:
> 
> 	git/get -uorigin ssh://foohost/home/$user/bar
> 
> outputs only
> 
> 	uri: "ssh://moth-openbsd/home/falsifian/bar"
> 	symref HEAD refs/heads/main
> 
> where normally (e.g. with a non-bare git repo) it will also output lines like
> 
> 	remote HEAD ...
> 	remote refs/heads/master ...
> 
> -- 
> James


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-15  2:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-15  2:41 [9front] Another git/pull bug James Cook
2025-02-15  2:47 ` ori

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).