9front - general discussion about 9front
 help / color / mirror / Atom feed
From: binarycat <dogedoge61@gmail.com>
To: 9front@9front.org
Subject: [9front] [PATCH] fix usage of exit in git/compat
Date: Mon, 22 Nov 2021 13:42:45 -0500	[thread overview]
Message-ID: <ED23FFD7FA18CCAA1EF2850DE413D67D@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 42 bytes --]

exit takes a single argument.

- binarycat

[-- Attachment #2: Type: text/plain, Size: 245 bytes --]

--- //.git/fs/object/56af50dd9eeacd922da1ff01620d282a685aa486/tree/sys/src/cmd/git/compat
+++ sys/src/cmd/git/compat
@@ -146,7 +146,7 @@
 
 fn die {
 	>[1=2] echo git $_cmdname: $*
-	exit $_cmdname: $*
+	exit $_cmdname:^' '^$"*
 }
 
 _cmdname=$1

             reply	other threads:[~2021-11-22 19:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-22 18:42 binarycat [this message]
2021-11-24  9:37 ` ori

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=ED23FFD7FA18CCAA1EF2850DE413D67D@gmail.com \
    --to=dogedoge61@gmail.com \
    --cc=9front@9front.org \
    --subject='Re: [9front] [PATCH] fix usage of exit in git/compat' \
    /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

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