mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
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:
commit
b7d960eadb
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue