[PATCH v3 6/7] Remove unused and bad gettext block from git-am
- From
Jiang Xin <worldhello.net@gmail.com>
- Date
- Jul 24, 2012, 06:59 UTC
- Message-ID
- <dc805486adc18bf70cea73f9c6363bb3c4cf6c2b.1343112786.git.worldhello.net@gmail.com>
- In-Reply-To
- <d3711733085d683d9a63cff6f615ef3114f2d3c0.1343112786.git.worldhello.net@gmail.com>
Gettext message should not start with '-' nor '--'. Since the '-d' and '--dotest' options do not exist in OPTIONS_SPEC variable, it's safe to remove the block.
Signed-off-by: Jiang Xin <worldhello.net@gmail.com> Reviewed-by: Stefano Lattarini <stefano.lattarini@gmail.com> --- git-am.sh | 3 --- 1 file changed, 3 deletions(-)
diff --git a/git-am.sh b/git-am.sh index b7183..a2e3d 100755 --- a/git-am.sh +++ b/git-am.sh @@ -413,9 +413,6 @@ it will be removed. Please do not use it anymore.") abort=t ;; --rebasing) rebasing=t threeway=t ;; - -d|--dotest) - die "$(gettext "-d option is no longer supported. Do not use.")" - ;; --resolvemsg) shift; resolvemsg=$1 ;; --whitespace|--directory|--exclude|--include)
-- 1.7.12.rc0.17.gcb766d3