Merge pull request #684 from spacewander/ignore_unknown_arg

git-release: function usage doesn't exist, ignore unknown argument instead
This commit is contained in:
hemanth.hm 2017-12-08 10:41:31 +05:30 committed by GitHub
commit b7d960eadb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,6 @@ if test $# -gt 0; then
-r) remote=$2; shift ;;
-m) msg=$2; shift ;;
--) shift; hook_args="$hook_args $*"; break;;
*) usage ;;
esac
shift
done