Skip to content

improve relocate_git_dir to fail into a sane state.

Stefan Beller git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dir.c: split up connect_work_tree_and_git_dirdir.c+21 -70 replies
2/2dir.c: add retry logic to relocate_gitdirdir.c dir.h submodule.c+91 -123 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/2] improve relocate_git_dir to fail into a sane state.

This goes on top of sb/submodule-embed-gitdir.
When the absorbing of a git dir fails, try to recover into a sane state, i.e. try to undo the move of the git dir.

Thanks,
Stefan

Stefan Beller (2):
dir.c: split up connect_work_tree_and_git_dir
dir.c: add retry logic to relocate_gitdir

 dir.c       | 118 +++++++++++++++++++++++++++++++++++++++++++++++++++++-------
 dir.h       |   6 ++--
 submodule.c |   3 +-
 3 files changed, 110 insertions(+), 17 deletions(-)
Signature · 1 line
2.11.0.rc2.53.gb7b3fba.dirty