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

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

From
Stefan Beller <sbeller@google.com>
Date
Dec 19, 2016, 21:57 UTC
Message-ID
<20161219215709.24620-1-sbeller@google.com>

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(-)
-- 
2.11.0.rc2.53.gb7b3fba.dirty
Next: Stefan Beller
Message 1 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.