git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/2] improve relocate_git_dir to fail into a sane state.

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 19, 2016, 22:54 UTC
Message-ID
<xmqqfuljmswl.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20161219215709.24620-1-sbeller@google.com>
Stefan Beller <sbeller@google.com> writes:
> 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.

Are these unconditionally good improvements? I ask because the series is still not in 'next' and it is the last chance to fold these into existing patches if we wanted to.

Show 12 quoted lines
>
> 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(-)
Previous: Stefan BellerNext: Stefan Beller
Message 7 of 9 in “improve relocate_git_dir to fail into a sane state.”
  1. 0/2 improve relocate_git_dir to fail into a sane state.Stefan Beller, Dec 19, 2016
  2. 2/2 dir.c: add retry logic to relocate_gitdirStefan Beller, Dec 19, 2016
  3. Brandon WilliamsDec 19, 2016
  4. Stefan BellerDec 19, 2016
  5. Duy NguyenJan 4, 2017
  6. 1/2 dir.c: split up connect_work_tree_and_git_dirStefan Beller, Dec 19, 2016
  7. Junio C HamanoDec 19, 2016
  8. Stefan BellerDec 19, 2016
  9. Junio C HamanoDec 19, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.