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

[PATCH v5 0/4] Detection of directory renames

From
Yann Dirson <ydirson@altern.org>
Date
Oct 9, 2010, 21:31 UTC
Message-ID
<1286659895-1813-1-git-send-email-ydirson@altern.org>
Evolutions from v4 to v5:

(Jonathan Nieder) use memcpy, not strncpy overkill (Jonathan Nieder) split 2 funcs out of diffcore_bulk_renames (Jonathan Nieder) more comments (Jonathan Nieder) avoid allocating often-useless filespec too early (Jonathan Nieder) split into new func (Ævar Arnfjörð Bjarmason) convert C99 comments intended to stay to C89 ones

(Jonathan Nieder, Ævar Arnfjörð Bjarmason) reworked style of test script
(Jonathan Nieder, Sverre Rabbelier) use compare_diff_raw, not compare_diff_patch;
	anonymize hashes and scores
(Jonathan Nieder) use "git commit" in test instead of only plumbing, and use test_tick
listed a number of additional FIXME's
changed wording "factorization" -> "bulk move"
changed --detect-dir-renames to --detect-bulk-moves and
	--hide-dir-rename-details to --hide-bulk-move-details
first attempt at showing the "/*" suffix in bulk moves, for comment
stop maintaining testcases for --hide-bulk-move-details, I'm just keeping
	the patch adding the flag in sync with other code changes anyway.
Yann Dirson (4):
  Introduce bulk-move detection in diffcore.
  Add testcases for the --detect-bulk-moves diffcore flag.
  [RFC] Only show bulkmoves in output.
  [RFC] Allow hiding renames of individual files involved in a
    directory rename.
 diff-lib.c                       |    6 +-
 diff.c                           |   12 ++
 diff.h                           |    6 +
 diffcore-rename.c                |  349 +++++++++++++++++++++++++++++++++++++-
 diffcore.h                       |    1 +
 t/t4046-diff-rename-factorize.sh |  251 +++++++++++++++++++++++++++
 tree-diff.c                      |    4 +-
 7 files changed, 617 insertions(+), 12 deletions(-)
 create mode 100755 t/t4046-diff-rename-factorize.sh
-- 
1.7.2.3
Next: Yann Dirson
Message 1 of 9 in “Detection of directory renames”
  1. 0/4 Detection of directory renamesYann Dirson, Oct 9, 2010
  2. 1/4 Introduce bulk-move detection in diffcore.Yann Dirson, Oct 9, 2010
  3. 2/4 Add testcases for the --detect-bulk-moves diffcore flag.Yann Dirson, Oct 9, 2010
  4. 3/4 [RFC] Only show bulkmoves in output.Yann Dirson, Oct 9, 2010
  5. 4/4 [RFC] Allow hiding renames of individual files involved in a directory rename.Yann Dirson, Oct 9, 2010
  6. Yann DirsonOct 10, 2010
  7. 0/2 Re: [PATCH v5 3/4] [RFC] Only show bulkmoves in output.Yann Dirson, Oct 10, 2010
  8. 1/2 [RFC] Only show bulkmoves in output.Yann Dirson, Oct 10, 2010
  9. 2/2 [RFC] Transfer special display of toplevel dir to display-time.Yann Dirson, Oct 10, 2010

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.