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

[PATCH 0/2] Add a few more status tests

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Dec 8, 2009, 10:12 UTC
Message-ID
<cover.1260266027.git.git@drmicha.warpmail.net>

Here are a few more tests for git status. The first one makes sure that --porcelain uses paths based on the root, it makes sense on top of 14ed05d (t7508-status.sh: Add tests for status -s, 2009-11-27) or later.

The second one checks long, short and porcelain with color. It makes sense on top of 3fe2a89 (status -s: obey color.status, 2009-12-05), although one test will fail without the later 8661768 (status: reduce duplicated setup code, 2009-12-07) and predecessor.

Remarks:
- There's not a single merge related status test so far.
- There's no test with -z because I don't know what it's suppoded to
  (besides the obvious thing): should it turn off color automatically
  but not relativePaths? Or should it switch to --porcelain -z?

Depending on the answer to the latter I have to do one more fixup to wt-status.c (and write another test).

Thanks: to J6t for pointing me to decrypt_color()

Michael J Gruber (2):
  t7508-status: status --porcelain ignores relative paths setting
  t7508-status: test all modes with color
 t/t7508-status.sh |  137 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 137 insertions(+), 0 deletions(-)
Next: Michael J Gruber
Message 1 of 9 in “Add a few more status tests”
  1. 0/2 Add a few more status testsMichael J Gruber, Dec 8, 2009
  2. 1/2 t7508-status: status --porcelain ignores relative paths settingMichael J Gruber, Dec 8, 2009
  3. 2/2 t7508-status: test all modes with colorMichael J Gruber, Dec 8, 2009
  4. Jakub NarebskiDec 8, 2009
  5. Michael J GruberDec 8, 2009
  6. Junio C HamanoDec 9, 2009
  7. Junio C HamanoDec 9, 2009
  8. Michael J GruberDec 9, 2009
  9. Junio C HamanoDec 9, 2009

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.