From: "Henrik Grubbström (Grubba)" <grubba@grubba.org>
To: git@vger.kernel.org
Cc: gitster@pobox.com, "Henrik Grubbström " <grubba@grubba.org>
Subject: [PATCH v3 0/5] Patches to avoid reporting conversion changes.
Date: Mon, 10 May 2010 11:51:45 +0200 [thread overview]
Message-ID: <cover.1273482409.git.grubba@grubba.org> (raw)
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 reply other threads:[~2010-05-10 9:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-10 9:51 Henrik Grubbström (Grubba) [this message]
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)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1273482409.git.grubba@grubba.org \
--to=grubba@grubba.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).