ref: 909205036de4762628fdcdd295e209309817a604
parent: 331f19ef213a7448a3876dc7e9ff6283b2fe6ff2
author: Michael Forney <[email protected]>
date: Mon Apr 4 19:09:49 EDT 2022
git/branch: remove duplicate assignment of dirtypaths
--- a/sys/src/cmd/git/branch
+++ b/sys/src/cmd/git/branch
@@ -68,8 +68,6 @@
dirtypaths=()
if(! ~ $#modified 0 || ! ~ $#deleted 0)
dirtypaths=`$nl{git/walk -cfRMA $modified $deleted}
-if(! ~ $#modified 0 || ! ~ $#deleted 0)
- dirtypaths=`$nl{git/walk -cfRMA $modified $deleted}
if(~ $#dirtypaths 0)
cleanpaths=($modified $deleted)
if not {