Browse Source
Merge pull request #19 from AndrewHastings/bugfix/integrate-with-git-dash-h
Bugfix: fix integration with git command -h
pull/18/head
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
bin/git-vendor
|
|
|
@ -16,14 +16,14 @@ Usage: |
|
|
|
EOF |
|
|
|
} |
|
|
|
|
|
|
|
case "$1" in |
|
|
|
""|"-h"|"--help") _usage && exit ;; |
|
|
|
esac |
|
|
|
|
|
|
|
PATH=$PATH:$(git --exec-path) |
|
|
|
. git-sh-setup |
|
|
|
require_work_tree |
|
|
|
|
|
|
|
case "$1" in |
|
|
|
""|"--help") _usage && exit ;; |
|
|
|
esac |
|
|
|
|
|
|
|
command="$1" |
|
|
|
shift |
|
|
|
case "$command" in |
|
|
|
|