git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/1] t: fix typo in test descriptions

From
Nathan Stocks via GitGitGadget <gitgitgadget@gmail.com>
Date
Nov 6, 2019, 04:18 UTC
Message-ID
<pull.448.git.1573013889.gitgitgadget@gmail.com>

Fix two test descriptions which stated "git -ls-files" when the actual command being tested was "git ls-files".

I based this patch off of 'maint' since the typo predates the latest release, but the patch can be applied cleanly to 'master'.

I happened to run across this while running the following quick-and-dirty command to see if it looked like there were any undocumented top-level git options that were run from inside tests. The answer to that was unsurprisingly "no", but it did turn up this typo to fix!

git grep "[^./i]git -" |
    grep -v 'git -C' |
    grep -v 'git -c' |
    grep -v 'git --help' |
    grep -v 'git --exec-path' |
    grep -v 'git --version' |
    grep -v 'git --html-path' |
    grep -v 'git --man-path' |
    grep -v 'git --info-path' |
    grep -v 'git -p' |
    grep -v 'git --paginate' |
    grep -v 'git -P' |
    grep -v 'git --no-pager' |
    grep -v 'git --no-replace-objects' |
    grep -v 'git --bare' |
    grep -v 'git --git-dir' |
    grep -v 'git --work-tree' |
    grep -v 'git --namespace' |
    grep -v 'test_completion' |
    grep -v 'git-grep.*acted as if' |
    grep -v 'git --super-prefix' |
    grep -v 'git --no-replace-objects' |
    grep -v 'git --literal-pathspecs' |
    grep -v 'git --glob-pathspecs' |
    grep -v 'git --noglob-pathspecs' |
    grep -v 'git --icase-pathspecs' |
    grep -v 'git --no-optional-locks' |
    grep -v 'git --list-cmds' |
    grep -v 'git ->'
Nathan Stocks (1):
  t: fix typo in test descriptions
 t/t3060-ls-files-with-tree.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
base-commit: 5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-448%2FCleanCut%2Ft3060-fix-description-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-448/CleanCut/t3060-fix-description-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/448
-- 
gitgitgadget
Next: Nathan Stocks via GitGitGadget
Message 1 of 6 in “t: fix typo in test descriptions”
  1. 0/1 t: fix typo in test descriptionsNathan Stocks via GitGitGadget, Nov 6, 2019
  2. 1/1 t: fix typo in test descriptionsNathan Stocks via GitGitGadget, Nov 6, 2019
  3. Jeff KingNov 6, 2019
  4. Nathan StocksNov 6, 2019
  5. Taylor BlauNov 6, 2019
  6. Nathan StocksNov 6, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.