Re: [PATCH] Added -d and -e options to the "git" script.
Show 6 quoted lines
> + case "$1" in
> + -e) [...]
> + *) cmd="$1"
> + shift
> + case "$cmd" in
> + -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
Umm, can we please not have two case statements nested like that?
Better written as:
Show 7 quoted lines
> + case "$1" in
> + -e) [...]
> + -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
> + [print and die]
> + *) cmd="$1"
> + shift
> + test -x $path/git-$cmd && exec $path/git-$cmd "$@"
--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
- -
It is a sad commentary on today's society that this fortune has to be
classified as "offensive" simply because it contains the word "fuck".