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

[PATCH 0/2] Re: [PATCH v5 3/4] [RFC] Only show bulkmoves in output.

From
Yann Dirson <ydirson@altern.org>
Date
Oct 10, 2010, 19:59 UTC
Message-ID
<1286740795-7929-1-git-send-email-ydirson@altern.org>
In-Reply-To
<20101010123954.GB4983@home.lan>
>Thinking twice, that approach has a major problem: it will break when
>a file is named "*".  Finally looks like differing this to display
>time will be the most sensible solution.

So here is a matching implementation (patch 1/2). At first I also thought of moving the responsibility of the toplevel special case (displaying toplevel dir az "./") to the formatting routines (patch 2/2), but unless there are compelling reasons to proceed that way, I guess that approach should be dropped - correct ?

Yann Dirson (2):
  [RFC] Only show bulkmoves in output.
  [RFC] Transfer special display of toplevel dir to display-time.
 diff.c                           |   15 +++++++++++++++
 diffcore-rename.c                |    9 ++-------
 diffcore.h                       |    1 +
 t/t4046-diff-rename-factorize.sh |   22 +++++++++++-----------
 4 files changed, 29 insertions(+), 18 deletions(-)
-- 
1.7.2.3
Previous: Yann DirsonNext: Yann Dirson
Message 7 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.