shithub: git9

Download patch

ref: 6dddd4ae8262ae6de52fb40a14b534e709fcc484
parent: e647dad43dbff501fd7a881fd785768292cc41d1
author: Ori Bernstein <[email protected]>
date: Sat Oct 24 16:44:15 EDT 2020

git/compat: stub submodule support

This inits submodules, so long as there are no
submodules.

--- a/compat
+++ b/compat
@@ -79,7 +79,12 @@
 	git/branch $b
 }
 
-fn rev-parse{
+fn cmd_submodule {
+	if(test -f .gitmodules)
+		die 'submodules unsupported'
+}
+
+fn cmd_rev-parse{
 	while(~ $1 -*){
 		switch($1){
 		case --git-dir