cleanup: simplify merge command in dot
This commit is contained in:
parent
bf136ba0c1
commit
362b7af10d
@ -42,9 +42,7 @@ case $1 in
|
|||||||
else
|
else
|
||||||
branches="$(echo "$($git branch)" | sed -e 's/\*/ /;t')"
|
branches="$(echo "$($git branch)" | sed -e 's/\*/ /;t')"
|
||||||
for arg in $branches ; do
|
for arg in $branches ; do
|
||||||
if [ "$arg" != "dev" ] ; then
|
[ "$arg" != "dev" ] && $git checkout $arg && $git merge dev
|
||||||
$git checkout $arg && $git merge dev
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
cmd="$git checkout dev"
|
cmd="$git checkout dev"
|
||||||
|
Reference in New Issue
Block a user