File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,14 +72,14 @@ branchkill() {
72
72
RES=0
73
73
for B in " $@ " ; do
74
74
if [ " $B " = " $CURBRANCH " -o " $B " = master ] ; then
75
- echo " Error: can not remove master branch, or current branch $B " \
75
+ echo " Error: can not remove master branch, or current branch: ' $B ' " \
76
76
" (please change into some other)" >&2
77
77
RES=2
78
78
FAILED=" $FAILED
79
79
M($RES ) ` pwd` $B master branch, or current branch"
80
80
else
81
81
for R in $REMOTES ; do
82
- echo " Info: Removing remote branch $R /$B ..."
82
+ echo " Info: Removing local reference to remote branch: ' $R /$B ' ..."
83
83
_OUT=" ` $EXEC git branch -dr " $R /$B " 2>&1 ` "
84
84
_RES=$?
85
85
if echo " $_OUT " | egrep " branch '.*' not found" > /dev/null && [ " $_RES " != 0 ]; then
@@ -92,7 +92,7 @@ R($RES) `pwd` $B `echo ${_OUT} | tr '\n' ' '`"
92
92
echo " $_OUT "
93
93
done
94
94
95
- echo " Info: Removing local branch $B ..."
95
+ echo " Info: Removing local branch: ' $B ' ..."
96
96
_OUT=" ` $EXEC git branch $LOCALKILL " $B " 2>&1 ` "
97
97
_RES=$?
98
98
if echo " $_OUT " | egrep " branch '.*' not found" > /dev/null && [ " $_RES " != 0 ]; then
You can’t perform that action at this time.
0 commit comments