Skip to content
Snippets Groups Projects
Commit 35eea7f7 authored by Roland Hopferwieser's avatar Roland Hopferwieser
Browse files

Remove use of case fallthrough

parent 89c735c0
No related branches found
No related tags found
No related merge requests found
...@@ -612,25 +612,26 @@ if [ -n "$alias" ]; then ...@@ -612,25 +612,26 @@ if [ -n "$alias" ]; then
VCSH_COMMAND="$alias" VCSH_COMMAND="$alias"
else else
case $VCSH_COMMAND in case $VCSH_COMMAND in
clon|clo|cl) ;& clon|clo|cl) old_alias=1 ;;
commi|comm|com|co) ;& commi|comm|com|co) old_alias=1 ;;
delet|dele|del|de) ;& delet|dele|del|de) old_alias=1 ;;
ente|ent|en) ;& ente|ent|en) old_alias=1 ;;
hel|he) ;& hel|he) old_alias=1 ;;
ini|in) ;& ini|in) old_alias=1 ;;
pul) ;& pul) old_alias=1 ;;
pus) ;& pus) old_alias=1 ;;
renam|rena|ren|re) ;& renam|rena|ren|re) old_alias=1 ;;
ru) ;& ru) old_alias=1 ;;
statu|stat|sta|st) ;& statu|stat|sta|st) old_alias=1 ;;
upgrad|upgra|upgr|up) ;& upgrad|upgra|upgr|up) old_alias=1 ;;
versio|versi|vers|ver|ve) ;& versio|versi|vers|ver|ve) old_alias=1 ;;
which|whi|wh) ;& which|whi|wh) old_alias=1 ;;
write|writ|wri|wr) write|writ|wri|wr) old_alias=1 ;;
esac
if [ -n "$old_alias" ]; then
echo "Aliases now dynamically defined. See vcsh(1) for details." echo "Aliases now dynamically defined. See vcsh(1) for details."
exit 1 exit 1
;; fi
esac
fi fi
if [ x"$VCSH_COMMAND" = x'clone' ]; then if [ x"$VCSH_COMMAND" = x'clone' ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment