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

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

From
Henrik Grubbström (Grubba) <grubba@grubba.org>
Date
May 10, 2010, 09:51 UTC
Message-ID
<cover.1273482409.git.grubba@grubba.org>

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(-)
Next: Henrik Grubbström (Grubba)
Message 1 of 6 in “Patches to avoid reporting conversion changes.”
  1. 0/5 Patches to avoid reporting conversion changes.Henrik Grubbström (Grubba), May 10, 2010
  2. 1/5 sha1_file: Added index_blob().Henrik Grubbström (Grubba), May 10, 2010
  3. 2/5 strbuf: Added strbuf_add_uint32().Henrik Grubbström (Grubba), May 10, 2010
  4. 3/5 cache: Keep track of conversion mode changes.Henrik Grubbström (Grubba), May 10, 2010
  5. 4/5 cache: Added index extension "CONV".Henrik Grubbström (Grubba), May 10, 2010
  6. 5/5 t/t0021: Test that conversion changes are detected.Henrik Grubbström (Grubba), May 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.