sapling/eden
Jun Wu bc80499084 git: avoid deadlock with nested submodules of same URL
Summary:
Some submodules (ex. gflags) have submodules (ex. gflags/doc) that share the same
URL with the parent repo. Previously those 2 repos would deadlock on the
backing repo wlock on checkout, and the git reference would conflict.

Fix them by:
- Skip the submodule backing repo wlock, since nobody uses the backing repo's
  working copy.
- Escape `/` to `_` in the git reference name to avoid conflict.

Reviewed By: muirdm

Differential Revision: D42949672

fbshipit-source-id: fc471f9c6aeec05212911e3ffeb8f53f0427fa38
2023-02-02 11:32:30 -08:00
..
fs upgrade pyre version in fbcode/eden - batch 1 2023-02-01 20:39:41 -08:00
integration upgrade pyre version in fbcode/eden - batch 1 2023-02-01 20:39:41 -08:00
locale
mononoke Optimise file copying between repos 2023-02-02 10:23:29 -08:00
scm git: avoid deadlock with nested submodules of same URL 2023-02-02 11:32:30 -08:00
test_support upgrade pyre version in fbcode/eden - batch 1 2023-02-01 20:39:41 -08:00
test-data test-data: remove snapshot 20190313 2022-02-04 13:50:48 -08:00
testlib upgrade pyre version in fbcode/eden - batch 1 2023-02-01 20:39:41 -08:00
.clang-tidy clang-tidy: disable facebook-hte-ContextDependentStaticInit 2022-11-04 15:33:50 -07:00
.gitignore
.mononoke_test_file test push 2022-01-06 05:57:35 -08:00
Eden.project.toml