From 909205036de4762628fdcdd295e209309817a604 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Mon, 4 Apr 2022 23:09:49 +0000 Subject: [PATCH] git/branch: remove duplicate assignment of dirtypaths --- sys/src/cmd/git/branch | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/src/cmd/git/branch b/sys/src/cmd/git/branch index 93ef92c21..dfbce636d 100755 --- a/sys/src/cmd/git/branch +++ b/sys/src/cmd/git/branch @@ -66,8 +66,6 @@ if(! ~ $#stay 0){ } basedir=`{git/query -p $base} 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)