Skip to content

Fixes from the per-repository object store series

Jonathan Nieder git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4pack: make packed_git_mru global a value instead of a pointerbuiltin/pack-objects.c cache.h packfile.c+9 -110 replies
2/4push, fetch: error out for submodule entries not pointing to commitssubmodule.c t/t5531-deep-submodule-push.sh+35 -82 replies
3/4replace-objects: evaluate replacement refs without using the object storerefs.c+1 -12 replies
4/4packed refs: pass .git dir instead of packed-refs path to init_fnrefs/files-backend.c refs/packed-backend.c+4 -42 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchJeff King
1/4A-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Fixes from the per-repository object store series

Hi,

This is a continuation of the series at [1]. That was part 1 --- you can think of this as part 0, since it contains the simplest and least controversial part of the series --- each patch in this series is a bugfix in its own right.

Patch 1 should be familiar if you reviewed the series [1]. It is unchanged from the patch there, except to note Peff's ack.

Patches 2-4 have not yet visited the list but are fixes (or, in the case of patch 4, cleanups) noticed as part of the same process of teaching object store code to handle multiple repositories.

We hope that splitting these out should make them easier to review and for people to benefit from these fixes without having to wait for the rest of the series to settle.

Thoughts of all kinds welcome.

Jonathan Nieder (1):
pack: make packed_git_mru global a value instead of a pointer

Stefan Beller (3):
push, fetch: error out for submodule entries not pointing to commits
replace-objects: evaluate replacement refs without using the object
store
packed refs: pass .git dir instead of packed-refs path to init_fn

 builtin/pack-objects.c         |  4 ++--
 cache.h                        |  4 ++--
 packfile.c                     | 12 +++++-------
 refs.c                         |  2 +-
 refs/files-backend.c           |  4 ++--
 refs/packed-backend.c          |  4 ++--
 submodule.c                    | 33 +++++++++++++++++++++++++--------
 t/t5531-deep-submodule-push.sh | 10 ++++++++++
 8 files changed, 49 insertions(+), 24 deletions(-)

[1] https://public-inbox.org/git/[email protected]/