git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v4 0/4] Detection of directory renames
@ 2010-10-03 20:42 Yann Dirson
  2010-10-03 20:42 ` [PATCH v4 1/4] Introduce wholesame directory move detection in diffcore Yann Dirson
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Yann Dirson @ 2010-10-03 20:42 UTC (permalink / raw)
  To: git; +Cc: Yann Dirson

At last a reroll of that old series.  The most prominent change is a
split of the old --factorize-renames flag into --detect-dir-renames
and --hide-dir-rename-details - hopefully following Junio's comments
dated nearly 2 years ago.  While doing this, a couple of testcases got
added (as well as a list of more testcases to be written), and some
minor optimizations were done, but no heavy surgery.

I hope we can turn the simple detection feature to something
acceptable for inclusion - that is, once unified diff output shows the
detected renames as annotations, and once the known major holes are
plugged (both from FIXME and testcases).  For the "hiding" one OTOH, a
more precise description of what we want must probably be done before
progressing, but I suggest we keep that for later.

Also, maybe the --detect-dir-renames would get a good alias as "-M -M".

Does all of that look reasonable ?

Yann Dirson (4):
  Introduce wholesame directory move detection in diffcore.
  Add testcases for the --detect-dir-renames diffcore flag.
  Allow hiding renames of individual files involved in a directory
    rename.
  Add testcases for the --hide-dir-rename-details diffcore flag.

 diff-lib.c                       |    6 +-
 diff.c                           |   12 +
 diff.h                           |    6 +
 diffcore-rename.c                |  316 +++++++++++++++++++++++++++-
 diffcore.h                       |    1 +
 t/t4046-diff-rename-factorize.sh |  433 ++++++++++++++++++++++++++++++++++++++
 tree-diff.c                      |    4 +-
 7 files changed, 766 insertions(+), 12 deletions(-)
 create mode 100755 t/t4046-diff-rename-factorize.sh

-- 
1.7.2.3

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2010-10-06 23:07 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-03 20:42 [RFC PATCH v4 0/4] Detection of directory renames Yann Dirson
2010-10-03 20:42 ` [PATCH v4 1/4] Introduce wholesame directory move detection in diffcore Yann Dirson
2010-10-03 20:42   ` [PATCH v4 2/4] Add testcases for the --detect-dir-renames diffcore flag Yann Dirson
2010-10-03 20:42     ` [PATCH v4 3/4] Allow hiding renames of individual files involved in a directory rename Yann Dirson
2010-10-03 20:42       ` [PATCH v4 4/4] Add testcases for the --hide-dir-rename-details diffcore flag Yann Dirson
2010-10-03 23:04         ` Sverre Rabbelier
2010-10-03 23:06       ` [PATCH v4 3/4] Allow hiding renames of individual files involved in a directory rename Sverre Rabbelier
2010-10-03 23:28         ` Junio C Hamano
2010-10-04  6:43           ` Sverre Rabbelier
2010-10-04 18:21         ` Yann Dirson
2010-10-04  3:03     ` [PATCH v4 2/4] Add testcases for the --detect-dir-renames diffcore flag Ævar Arnfjörð Bjarmason
2010-10-04 18:32       ` Yann Dirson
2010-10-04 20:32     ` Jonathan Nieder
2010-10-04 21:37       ` Yann Dirson
2010-10-04 22:09         ` Jonathan Nieder
2010-10-05  9:21         ` Andreas Ericsson
2010-10-04  2:59   ` [PATCH v4 1/4] Introduce wholesame directory move detection in diffcore Ævar Arnfjörð Bjarmason
2010-10-04 18:19     ` Yann Dirson
2010-10-04  7:28   ` Jonathan Nieder
2010-10-04 21:13     ` Yann Dirson
2010-10-05  1:06   ` Jonathan Nieder
2010-10-06 23:13     ` Yann Dirson
2010-10-04  6:20 ` [RFC PATCH v4 0/4] Detection of directory renames Jonathan Nieder
2010-10-05  1:42 ` Jonathan Nieder
2010-10-06 23:17   ` Yann Dirson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).