[PATCH v4 0/5] Patches to avoid reporting conversion changes.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
Date: Tuesday, June 1, 2010 - 7:41 am

This is the fourth go at having the git index keep track of
the conversion mode for blobs.

This is useful for repositorys not containing fully normalized files
(eg containing CRLF's or expanded $Id$ strings), where a later attribute
change implies a conversion mode change. Without this set of patches
the user would need to recommit semantically unchanged files to get
a clean index.

Changes since last time:

  o The patch set has been rebased upon 0ed6711 (aka eb/core-eol),
    to be able to take advantage of convert.c:get_output_conversion()
    and convert.c:determine_action().

  o As a consequence of using those functions, the on-disk format for
    the CONV extension has changed slightly. The change should have
    minimal impact, since the index will in most cases self-repair.

  o The t0025-crlf-auto.sh tests have been updated to still test
    the same behaviour.

Junio: This should be close to what you envisioned in
       <7vsk6qio1f.fsf@alter.siamese.dyndns.org>.

Henrik Grubbström (Grubba) (5):
  sha1_file: Add index_blob().
  strbuf: Add strbuf_add_uint32().
  cache: Keep track of conversion mode changes.
  cache: Add index extension "CONV".
  t/t0021: Test that conversion changes are detected.

 cache.h               |   12 ++++++
 convert.c             |   46 ++++++++++++++++++++++
 read-cache.c          |  102 ++++++++++++++++++++++++++++++++++++++++++++----
 sha1_file.c           |   19 +++++++++
 strbuf.h              |    4 ++
 t/t0021-conversion.sh |   54 ++++++++++++++++++++++++++
 t/t0025-crlf-auto.sh  |   20 ++++++----
 7 files changed, 240 insertions(+), 17 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v4 0/5] Patches to avoid reporting conversion changes., =?UTF-8?q?Henrik=20G ..., (Tue Jun 1, 7:41 am)
[PATCH v4 1/5] sha1_file: Add index_blob()., =?UTF-8?q?Henrik=20G ..., (Tue Jun 1, 7:41 am)
[PATCH v4 2/5] strbuf: Add strbuf_add_uint32()., =?UTF-8?q?Henrik=20G ..., (Tue Jun 1, 7:41 am)
[PATCH v4 3/5] cache: Keep track of conversion mode changes., =?UTF-8?q?Henrik=20G ..., (Tue Jun 1, 7:41 am)
[PATCH v4 4/5] cache: Add index extension &quot;CONV&quot;., =?UTF-8?q?Henrik=20G ..., (Tue Jun 1, 7:41 am)
[PATCH v4 5/5] t/t0021: Test that conversion changes are d ..., =?UTF-8?q?Henrik=20G ..., (Tue Jun 1, 7:41 am)
Re: [PATCH v4 0/5] Patches to avoid reporting conversion c ..., Henrik Grubbström, (Thu Jun 3, 9:00 am)
Re: [PATCH v4 0/5] Patches to avoid reporting conversion c ..., Henrik Grubbström, (Fri Jun 4, 4:59 am)
Re: [PATCH v4 0/5] Patches to avoid reporting conversion c ..., Henrik Grubbström, (Sun Jun 6, 3:50 am)
Re: [PATCH v4 0/5] Patches to avoid reporting conversion c ..., Finn Arne Gangstad, (Mon Jun 7, 1:59 am)
Re: [PATCH v4 0/5] Patches to avoid reporting conversion c ..., Henrik Grubbström, (Mon Jun 7, 9:37 am)
Re: [PATCH v4 0/5] Patches to avoid reporting conversion c ..., Finn Arne Gangstad, (Mon Jun 7, 12:50 pm)
Re: [PATCH v4 0/5] Patches to avoid reporting conversion c ..., Henrik Grubbström, (Tue Jun 8, 8:52 am)
Re: [PATCH v4 0/5] Patches to avoid reporting conversion c ..., Finn Arne Gangstad, (Wed Jun 9, 7:03 am)
Re: [PATCH v4 0/5] Patches to avoid reporting conversion c ..., Henrik Grubbström, (Wed Jun 9, 11:04 am)
Re: [PATCH v4 0/5] Patches to avoid reporting conversion c ..., Finn Arne Gangstad, (Thu Jun 10, 12:55 pm)