shithub: git9

Download patch

ref: d07ba3f6942faebb1059f8bea11cf58004d1e759
parent: 718290ffe0bbf965abf0c4e4941fae78e1d1e23f
author: =?UTF-8?q?Iruat=C3=A3=20Souza?= <[email protected]>
date: Thu Oct 29 13:53:18 EDT 2020

git/branch: add support for slashes in branch names

--- a/branch
+++ b/branch
@@ -58,6 +58,10 @@
 }
 commit=`{git/query $base} || die 'branch does not exist:' $base
 echo updating $new to $commit
+
+if(~ $new */*)
+	mkdir -p .git/`{basename -d $new}
+
 echo $commit > .git/$new