shithub: plan9front

Download patch

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

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

--- a/sys/src/cmd/git/branch	Sun May 30 22:07:11 2021
+++ b/sys/src/cmd/git/branch	Sun May 30 22:21:57 2021
@@ -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