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

[PATCH v2 0/3] Add test cases for "git mv -k" and fix a known breakage.

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Jan 14, 2009, 17:03 UTC
Message-ID
<1231952603-32527-1-git-send-email-git@drmicha.warpmail.net>
In-Reply-To
<alpine.DEB.1.00.0901141653540.3586@pacific.mpi-cbg.de>

This adds test cases for the "-k" option of "git mv", including one known breakage reported by Matthieu Moy <Matthieu.Moy@imag.fr> which appears when multiple untracked files are specified as consecutive arguments. This breakage is fixed in the second patch and marked "expect_pass" in the last one.

The cumulative code/other ratio is 1 line/27 lines which I blame solely on Dscho ;) Seriously, feel free to squash. But on the other hand: How else can I see the beautiful "1 known breakage fixed" other than by having 2 and 3 separate in this series...

The patch is off master but builtin-mv.c hasn't changed since 81dc2307d0ad87a4da2e753a9d1b5586d6456eed tags/v1.6.0-rc1~1, so I suggest this patch for maint.

Michael J Gruber (3):
  add test cases for "git mv -k"
  fix handling of multiple untracked files for git mv -k
  mark fixed breakage as expect pass for "git mv -k" multiple files
 builtin-mv.c  |    1 +
 t/t7001-mv.sh |   25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 0 deletions(-)
Previous: Matthieu MoyNext: Michael J Gruber
Message 10 of 14 in “[BUG] assertion failure in builtin-mv.c with "git mv -k"”
  1. Matthieu MoyJan 14, 2009
  2. Michael J GruberJan 14, 2009
  3. Johannes SchindelinJan 14, 2009
  4. Michael J GruberJan 14, 2009
  5. Jeff KingJan 14, 2009
  6. Junio C HamanoJan 14, 2009
  7. Michael J GruberJan 15, 2009
  8. Junio C HamanoJan 15, 2009
  9. Matthieu MoyJan 16, 2009
  10. 0/3 Add test cases for "git mv -k" and fix a known breakage.Michael J Gruber, Jan 14, 2009
  11. 1/3 add test cases for "git mv -k"Michael J Gruber, Jan 14, 2009
  12. 2/3 fix handling of multiple untracked files for git mv -kMichael J Gruber, Jan 14, 2009
  13. 3/3 mark fixed breakage as expect pass for "git mv -k" multiple filesMichael J Gruber, Jan 14, 2009
  14. fix handling of multiple untracked files for git mv -kMichael J Gruber, Jan 14, 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.