[PATCH 00/26] object_id part 17

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is the seventeenth and final object_id series. The patches mostly
switch sha1_to_hex to hash_to_hex, remove null_sha1 in favor of
null_oid, and replace some hard-coded constants (along with
GIT_SHA1_HEXSZ) to use the_hash_algo.

This series may downloaded from the normal places as "object-id-part17".

Additional patches for test fixes will be required, but beyond that, the
next series of actual code changes will involve introducing the
`extensions.objectFormat` flag and the ability to create repositories
and run the testsuite with SHA-256.  A preview of this work may be seen
in the "transition-stage-4" branch.

brian m. carlson (26):
  builtin/replace: make hash size independent
  patch-id: convert to use the_hash_algo
  fetch-pack: use parse_oid_hex
  builtin/receive-pack: switch to use the_hash_algo
  builtin/blame: switch uses of GIT_SHA1_HEXSZ to the_hash_algo
  builtin/rev-parse: switch to use the_hash_algo
  blame: remove needless comparison with GIT_SHA1_HEXSZ
  show-index: switch hard-coded constants to the_hash_algo
  connected: switch GIT_SHA1_HEXSZ to the_hash_algo
  bundle: switch to use the_hash_algo
  combine-diff: replace GIT_SHA1_HEXSZ with the_hash_algo
  config: use the_hash_algo in abbrev comparison
  sha1-lookup: switch hard-coded constants to the_hash_algo
  bisect: switch to using the_hash_algo
  sequencer: convert to use the_hash_algo
  pack-write: use hash_to_hex when writing checksums
  builtin/repack: write object IDs of the proper length
  builtin/worktree: switch null_sha1 to null_oid
  cache: remove null_sha1
  wt-status: convert struct wt_status to object_id
  packfile: replace sha1_to_hex
  builtin/index-pack: replace sha1_to_hex
  builtin/receive-pack: replace sha1_to_hex
  rerere: replace sha1_to_hex
  builtin/show-index: replace sha1_to_hex
  midx: switch to using the_hash_algo

 bisect.c                    |  2 +-
 blame.c                     |  2 +-
 builtin/blame.c             |  7 +++---
 builtin/clone.c             |  2 +-
 builtin/commit.c            |  4 +--
 builtin/index-pack.c        |  4 +--
 builtin/patch-id.c          | 11 ++++----
 builtin/receive-pack.c      | 50 ++++++++++++++++++-------------------
 builtin/repack.c            |  2 +-
 builtin/replace.c           |  7 +++---
 builtin/rev-parse.c         |  5 ++--
 builtin/show-index.c        | 13 +++++-----
 builtin/submodule--helper.c |  2 +-
 builtin/worktree.c          |  2 +-
 bundle.c                    |  4 +--
 cache.h                     |  8 +-----
 combine-diff.c              |  2 +-
 config.c                    |  2 +-
 connected.c                 |  7 +++---
 diff.c                      | 46 +++++++++++++++++-----------------
 diff.h                      |  2 +-
 fetch-pack.c                | 12 ++++-----
 midx.c                      | 11 ++++----
 pack-write.c                |  8 +++---
 packfile.c                  |  4 +--
 rerere.c                    |  8 +++---
 sequencer.c                 |  6 ++---
 sha1-file.c                 |  1 -
 sha1-lookup.c               |  8 +++---
 wt-status.c                 |  2 +-
 wt-status.h                 |  2 +-
 31 files changed, 121 insertions(+), 125 deletions(-)




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux