git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Patches to avoid reporting conversion changes.
@ 2010-05-10  9:51 Henrik Grubbström (Grubba)
  2010-05-10  9:51 ` [PATCH v3 1/5] sha1_file: Added index_blob() Henrik Grubbström (Grubba)
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Henrik Grubbström (Grubba) @ 2010-05-10  9:51 UTC (permalink / raw)
  To: git; +Cc: gitster, Henrik Grubbström  

This is the third go at having the git index keep track of
conversion mode changes for files.

Changes since last time:

  o The normalized sha1 is gone and replaced with a single bit
    (CONV_NORM_NEEDED).

  o The index extension "NORM" has been replaced with "CONV",
    since the only data to be saved is the conversion flags,
    and the format has been changed incompatibly.

  o The cache entry is now smudged on conversion mode change
    when relevant.

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

 cache.h               |   11 +++++
 convert.c             |   31 +++++++++++++++
 read-cache.c          |  102 ++++++++++++++++++++++++++++++++++++++++++++----
 sha1_file.c           |   19 +++++++++
 strbuf.h              |    4 ++
 t/t0021-conversion.sh |   54 ++++++++++++++++++++++++++
 6 files changed, 212 insertions(+), 9 deletions(-)

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

end of thread, other threads:[~2010-05-10  9:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-10  9:51 [PATCH v3 0/5] Patches to avoid reporting conversion changes Henrik Grubbström (Grubba)
2010-05-10  9:51 ` [PATCH v3 1/5] sha1_file: Added index_blob() Henrik Grubbström (Grubba)
2010-05-10  9:51 ` [PATCH v3 2/5] strbuf: Added strbuf_add_uint32() Henrik Grubbström (Grubba)
2010-05-10  9:51 ` [PATCH v3 3/5] cache: Keep track of conversion mode changes Henrik Grubbström (Grubba)
2010-05-10  9:51 ` [PATCH v3 4/5] cache: Added index extension "CONV" Henrik Grubbström (Grubba)
2010-05-10  9:51 ` [PATCH v3 5/5] t/t0021: Test that conversion changes are detected Henrik Grubbström (Grubba)

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).