shithub: git9

Download patch

ref: 752836e65a2be1a0c2ac0bc71e3abc9c27b85c72
parent: 2ac9a21dc2d4da9a4cbf82719f13a53fa1d38df7
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Jan 20 18:22:10 EST 2020

fix inverted condition

--- a/common.rc
+++ b/common.rc
@@ -19,6 +19,6 @@
 	if(~ $#gitrel 0)
 		gitrel='.'
 	cd $gitroot
-	if(test -e /mnt/git/ctl && ! grep -s '^repo '$gitroot'$' /mnt/git/ctl)
+	if(! test -e /mnt/git/ctl || ! grep -s '^repo '$gitroot'$' /mnt/git/ctl)
 		git/fs
 }