diff options
author | Michael Forney <mforney@mforney.org> | 2022-04-04 23:09:49 +0000 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2022-04-04 23:09:49 +0000 |
commit | 909205036de4762628fdcdd295e209309817a604 (patch) | |
tree | 225560770fd650e014c57c3d66327603f03625c4 /sys/src/cmd/git | |
parent | 331f19ef213a7448a3876dc7e9ff6283b2fe6ff2 (diff) |
git/branch: remove duplicate assignment of dirtypaths
Diffstat (limited to 'sys/src/cmd/git')
-rwxr-xr-x | sys/src/cmd/git/branch | 2 |
1 files changed, 0 insertions, 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 @@ -68,8 +68,6 @@ 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) cleanpaths=($modified $deleted) if not { |