Skip to content

Updates to replace-object API

Junio C Hamano git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Declare lookup_replace_object() in cache.h, not in commit.hcache.h commit.h+1 -20 replies
2/5t6050: make sure we test not just commit replacementt/t6050-replace.sh+16 -20 replies
3/5read_sha1_file(): get rid of read_sha1_file_repl() madnessbuiltin/mktag.c cache.h object.c +1 more+9 -170 replies
4/5inline lookup_replace_object() callscache.h environment.c replace_object.c+14 -40 replies
5/5read_sha1_file(): allow selective bypassing of replacement mechanismcache.h sha1_file.c+12 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Updates to replace-object API

While I was looking at gaining a low-level access to read from the object store, I found a handful poorly-designed part in the internal API to deal with object replacement.

Junio C Hamano (5):
Declare lookup_replace_object() in cache.h, not in commit.h
t6050: make sure we test not just commit replacement read_sha1_file(): get rid of read_sha1_file_repl() madness inline lookup_replace_object() calls
read_sha1_file(): allow selective bypassing of replacement mechanism

 builtin/mktag.c    |    4 ++--
 cache.h            |   18 ++++++++++++++----
 commit.h           |    2 --
 environment.c      |    2 +-
 object.c           |    4 ++--
 replace_object.c   |    4 +++-
 sha1_file.c        |   16 +++++++---------
 t/t6050-replace.sh |   18 ++++++++++++++++--
 8 files changed, 45 insertions(+), 23 deletions(-)
Signature · 1 line
1.7.5.1.334.gdfd07