Problems with ./t9902-completion.sh
t9902 does not work on my Mac OS box,
but only in one working directory.
Any idea where the "check-ignore" comea from ?
/Torsten
[snip]
out 2012-10-20 11:54:35.000000000 +0000 renamed from expected 2012-10-20 11:54:35.000000000 +0000 +1 -0
@@ -1 +1,2 @@ +check-ignore checkout
This patch corrects the problem:
(s/check"/checko"/)
t/t9902-completion.sh +12 -12
@@ -222,19 +222,19 @@ test_expect_success 'general options' ' ' test_expect_success 'general options plus command' ' - test_completion "git --version check" "checkout " && - test_completion "git --paginate check" "checkout " && - test_completion "git --git-dir=foo check" "checkout " && - test_completion "git --bare check" "checkout " && + test_completion "git --version checko" "checkout " && + test_completion "git --paginate checko" "checkout " && + test_completion "git --git-dir=foo checko" "checkout " && + test_completion "git --bare checko" "checkout " && test_completion "git --help des" "describe " && - test_completion "git --exec-path=foo check" "checkout " && - test_completion "git --html-path check" "checkout " && - test_completion "git --no-pager check" "checkout " && - test_completion "git --work-tree=foo check" "checkout " && - test_completion "git --namespace=foo check" "checkout " && - test_completion "git --paginate check" "checkout " && - test_completion "git --info-path check" "checkout " && - test_completion "git --no-replace-objects check" "checkout " + test_completion "git --exec-path=foo checko" "checkout " && + test_completion "git --html-path checko" "checkout " && + test_completion "git --no-pager checko" "checkout " && + test_completion "git --work-tree=foo checko" "checkout " && + test_completion "git --namespace=foo checko" "checkout " && + test_completion "git --paginate checko" "checkout " && + test_completion "git --info-path checko" "checkout " && + test_completion "git --no-replace-objects checko" "checkout " '
Quoted 6 lines · Torsten Bögershausen
t9902 does not work on my Mac OS box,
but only in one working directory.Any idea where the "check-ignore" comea from ?
/Torsten
Oh, I find the answer myself:
git status
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
# ../git-check-ignore
From some experiments there was a git-check-ignore left. (and make clean doesn't delete it)
sorry for the noise.