From: "brian m. carlson" <sandals@crustytoothpaste.net>
To: git@vger.kernel.org
Cc: Brandon Williams <bmwill@google.com>,
Stefan Beller <stefanbeller@gmail.com>, Jeff King <peff@peff.net>
Subject: [PATCH v2 00/13] object_id part 9
Date: Thu, 13 Jul 2017 23:49:17 +0000 [thread overview]
Message-ID: <20170713234930.949612-1-sandals@crustytoothpaste.net> (raw)
This is the ninth in a series of series to convert Git to use struct
object_id. This series converts the remaining callers of get_sha1 and
friends to take and use struct object_id, and in doing so, renames them
to get_oid and friends.
This patch should probably be based Stefan Beller's series, in which case
patch 9 can be dropped.
Changes from v1:
* Restore the check for length in get_sha1_basic.
* Add a patch converting some uses of 40 to GIT_SHA1_HEXSZ as suggested. This
is a separate patch because I wanted to minimize the non-automated portions of
the patch in question.
brian m. carlson (13):
builtin/fsck: convert remaining caller of get_sha1 to object_id
builtin/merge-tree: convert remaining caller of get_sha1 to object_id
submodule: convert submodule config lookup to use object_id
remote: convert struct push_cas to struct object_id
sequencer: convert to struct object_id
builtin/update_ref: convert to struct object_id
bisect: convert bisect_checkout to struct object_id
builtin/unpack-file: convert to struct object_id
builtin/verify-tag: convert to struct object_id
Convert remaining callers of get_sha1 to get_oid.
sha1_name: convert get_sha1* to get_oid*
sha1_name: convert GET_SHA1* flags to GET_OID*
sha1_name: convert uses of 40 to GIT_SHA1_HEXSZ
apply.c | 4 +-
archive.c | 2 +-
bisect.c | 18 +--
builtin/am.c | 6 +-
builtin/cat-file.c | 8 +-
builtin/commit-tree.c | 4 +-
builtin/commit.c | 8 +-
builtin/fsck.c | 8 +-
builtin/grep.c | 8 +-
builtin/log.c | 4 +-
builtin/merge-tree.c | 6 +-
builtin/receive-pack.c | 4 +-
builtin/replace.c | 4 +-
builtin/reset.c | 10 +-
builtin/rev-parse.c | 8 +-
builtin/show-branch.c | 8 +-
builtin/submodule--helper.c | 8 +-
builtin/unpack-file.c | 12 +-
builtin/update-ref.c | 69 ++++++-----
builtin/verify-tag.c | 8 +-
cache.h | 45 ++++----
commit.c | 4 +-
config.c | 12 +-
config.h | 4 +-
mailmap.c | 6 +-
notes.c | 2 +-
refs.c | 2 +-
remote.c | 8 +-
remote.h | 2 +-
repository.c | 2 +-
revision.c | 16 +--
sequencer.c | 65 +++++------
sha1_name.c | 240 +++++++++++++++++++--------------------
submodule-config.c | 38 +++----
submodule-config.h | 12 +-
submodule.c | 32 +++---
submodule.h | 2 +-
t/helper/test-submodule-config.c | 10 +-
transport-helper.c | 2 +-
39 files changed, 351 insertions(+), 360 deletions(-)
next reply other threads:[~2017-07-13 23:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-13 23:49 brian m. carlson [this message]
2017-07-13 23:49 ` [PATCH v2 01/13] builtin/fsck: convert remaining caller of get_sha1 to object_id brian m. carlson
2017-07-13 23:49 ` [PATCH v2 02/13] builtin/merge-tree: " brian m. carlson
2017-07-13 23:49 ` [PATCH v2 03/13] submodule: convert submodule config lookup to use object_id brian m. carlson
2017-07-13 23:49 ` [PATCH v2 04/13] remote: convert struct push_cas to struct object_id brian m. carlson
2017-07-13 23:49 ` [PATCH v2 05/13] sequencer: convert " brian m. carlson
2017-07-13 23:49 ` [PATCH v2 06/13] builtin/update_ref: " brian m. carlson
2017-07-13 23:49 ` [PATCH v2 07/13] bisect: convert bisect_checkout " brian m. carlson
2017-07-13 23:49 ` [PATCH v2 08/13] builtin/unpack-file: convert " brian m. carlson
2017-07-13 23:49 ` [PATCH v2 09/13] builtin/verify-tag: " brian m. carlson
2017-07-13 23:49 ` [PATCH v2 10/13] Convert remaining callers of get_sha1 to get_oid brian m. carlson
2017-07-13 23:49 ` [PATCH v2 11/13] sha1_name: convert get_sha1* to get_oid* brian m. carlson
2017-07-13 23:49 ` [PATCH v2 12/13] sha1_name: convert GET_SHA1* flags to GET_OID* brian m. carlson
2017-07-13 23:49 ` [PATCH v2 13/13] sha1_name: convert uses of 40 to GIT_SHA1_HEXSZ brian m. carlson
2017-07-14 19:35 ` [PATCH v2 00/13] object_id part 9 Brandon Williams
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170713234930.949612-1-sandals@crustytoothpaste.net \
--to=sandals@crustytoothpaste.net \
--cc=bmwill@google.com \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
--cc=stefanbeller@gmail.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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).