code: plan9front

Download patch

ref: f0bb6bbcb77d04bf5bdf6bcf8765752f78a5d077
parent: 519ff3009873af78d151a0bc84e3cecfb4c3c84a
author: Ori Bernstein <ori@eigenstate.org>
date: Sun May 30 15:21:57 EDT 2021

git/branch: ...all the debug prints.

--- a/sys/src/cmd/git/branch
+++ b/sys/src/cmd/git/branch
@@ -66,10 +66,8 @@
 basedir=`{git/query -p $base}
 dirtypaths=()
 cleanpaths=($modified $deleted)
-if(! ~ $#modified 0 || ! ~ $#deleted 0){
-	echo WUT
+if(! ~ $#modified 0 || ! ~ $#deleted 0)
 	dirtypaths=`$nl{git/walk -cfRMA $modified $deleted}
-}
 if(! ~ $#dirtypaths 0){
 	x=$nl^$cleanpaths
 	y=$nl^$dirtypaths