shithub: riscv

Download patch

ref: bb628108912343bf6c907a347dae7dbeac9535e8
parent: d84829254901f888d4de94fec4fe6d4f4dbe284e
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 -*