File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export def "git branch-cleanup" [
5656
5757# The current branch name
5858def current_branch [] {
59- run-external -- redirect-stdout " git" " branch" " --show-current"
59+ run-external " git" " branch" " --show-current"
6060 | into string
6161 | str trim
6262}
@@ -85,14 +85,14 @@ def get_default_branch [
8585 $upstream
8686 ]
8787
88- run-external -- redirect-stdout " git" " symbolic-ref" ... $args
88+ run-external " git" " symbolic-ref" ... $args
8989 | str trim
9090 | path basename
9191}
9292
9393# Get the local set of branches to always keep
9494def get_keep [] {
95- let keep = run-external -- redirect-stdout " git" " config" " --local" " --get" " branch-cleanup.keep"
95+ let keep = run-external " git" " config" " --local" " --get" " branch-cleanup.keep"
9696
9797 if ( $keep | is-empty ) {
9898 return []
@@ -139,7 +139,7 @@ def list_merged [
139139 ]
140140 )
141141
142- run-external -- redirect-stdout " git" " branch" ... $args
142+ run-external " git" " branch" ... $args
143143 | lines
144144 | filter {|branch |
145145 $keep
@@ -150,7 +150,7 @@ def list_merged [
150150}
151151
152152def remotes [] {
153- run-external -- redirect-stdout " git" " remote" " -v"
153+ run-external " git" " remote" " -v"
154154 | parse " {value}\t {description} ({operation})"
155155 | select value description
156156 | uniq
You can’t perform that action at this time.
0 commit comments