X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=git-commit.sh;h=f7ee1aadee1eb947603dadbd6ec077dab07f6a19;hb=379156e1dc46e0d22f0c7c0c52913c6259c62258;hp=fe9b6e75282190cde83a76908495563a37b98517;hpb=bba319b5cecacaccef85ce3c4cf9e3593532e328;p=git.git diff --git a/git-commit.sh b/git-commit.sh index fe9b6e75..f7ee1aad 100755 --- a/git-commit.sh +++ b/git-commit.sh @@ -3,7 +3,7 @@ # Copyright (c) 2005 Linus Torvalds # Copyright (c) 2006 Junio C Hamano -USAGE='[-a] [-i] [-s] [-v] [--no-verify] [-m | -F | (-C|-c) ] [-e] [--author ] [...]' +USAGE='[-a] [-s] [-v] [--no-verify] [-m | -F | (-C|-c) ] [-e] [--author ] [[-i | -o] ...]' SUBDIRECTORY_OK=Yes . git-sh-setup @@ -341,8 +341,8 @@ case "$#,$also$only" in 0,) ;; *,) - only_include_assumed="# Explicit paths specified without -i nor -o; assuming --include paths..." - also=t + only_include_assumed="# Explicit paths specified without -i nor -o; assuming --only paths..." + also= ;; esac unset only