9front - general discussion about 9front
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: 9front@9front.org
Subject: [9front] ISO 9front-8591: AVOID
Date: Sun, 18 Jul 2021 13:43:25 -0400	[thread overview]
Message-ID: <6262886EA44C1201A63000F328836F73@eigenstate.org> (raw)

If you got this ISO, don't use it.

If you are on commit 2204634275cbb3337cfc7cc994b57f9aa4017d0d,
sysupdate BEFORE you install in /sys/src/cmd/git.

If you ran 'mk install, either restore git from the dump,
or apply the patch from the end of the email and pull
BEFORE you run sysupdate

If already updated and ran sysupdate again, reset the
commit IDs by hand:

	echo 2204634275cbb3337cfc7cc994b57f9aa4017d0d > /dist/plan9front/.git/refs/heads/front
	echo 2204634275cbb3337cfc7cc994b57f9aa4017d0d > /dist/plan9front/.git/refs/remotes/THEM/front

Then apply the patch and reinstall git.

You can apply the patch either by running:

	fix=acc504c319a4b4188479cfa602e40cb6851c0528
	hget  http://git.9front.org/plan9front/plan9front/$fix/patch | \
		@{cd / && ape/patch -p1}

Or by applying:

diff be36c092ac061a04065720e98e5849130487be7f acc504c319a4b4188479cfa602e40cb6851c0528
--- a/sys/src/cmd/git/fetch.c	Sat Jul 17 14:56:11 2021
+++ b/sys/src/cmd/git/fetch.c	Sun Jul 18 10:59:51 2021
@@ -267,7 +267,7 @@
 
 	if((packtmp = smprint(".git/objects/pack/fetch.%d.pack", getpid())) == nil)
 		sysfatal("smprint: %r");
-	if((idxtmp = smprint(".git/objects/idx/fetch.%d.idx", getpid())) == nil)
+	if((idxtmp = smprint(".git/objects/pack/fetch.%d.idx", getpid())) == nil)
 		sysfatal("smprint: %r");
 	if(mkoutpath(packtmp) == -1)
 		sysfatal("could not create %s: %r", packtmp);


                 reply	other threads:[~2021-07-18 18:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=6262886EA44C1201A63000F328836F73@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9front@9front.org \
    /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;
as well as URLs for NNTP newsgroup(s).