git: 9front

Download patch

ref: b0233aa9626c2361f4d8beeed3463fa0d0949658
parent: 78fe0400c79206ddcda7777274839478da6522bb
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Oct 14 12:04:49 EDT 2022

git/compat: fix 'git init --bare' and 'git ls-remote' (thanks floren)

--- a/sys/src/cmd/git/compat
+++ b/sys/src/cmd/git/compat
@@ -4,10 +4,14 @@
 
 opts=()
 args=()
+nl='
+'
 
 fn cmd_init{
 	while(! ~ $#* 0){
 		switch($1){
+		case --bare
+			# ignore
 		case -- 
 			# go likes to use these
 		case -*
--