fix local clone from a linked checkout
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest6 patches 0 repliesNew
- v35 patches 1 replySuperseded
- v25 patches 6 repliesSuperseded
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | path.c: delete an extra spacepath.c | +1 | 0 replies | |
| 2/6 | t0002: add test for enter_repo(), non-strict modet/ | +18 | 0 replies | |
| 3/6 | enter_repo: avoid duplicating logic, use is_git_directory() insteadpath.c t/ | +15 | 0 replies | |
| 4/6 | enter_repo: allow .git files in strict modepath.c t/ | +17 | 0 replies | |
| 5/6 | clone: allow --local from a linked checkoutbuiltin/ t/ | +9 | 0 replies | |
| 6/6 | clone: better error when --reference is a linked checkoutbuiltin/ | +6 | 0 replies |
Reviews trailers per patch
None of the 6 patches has a Reviewed-by or Acked-by.
| Patch | Bjørnar Snoksrud |
|---|---|
| 1/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | Noticed-by |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/6] fix local clone from a linked checkout
This fixes another embarassing bug in 4/6 and adds tests to make sure it works. Changes since v3
-- 8< --
path.c +1 -1
@@ -439,7 +439,7 @@ const char *enter_repo(const char *path, int strict) path = validated_path; }else { -const char *gitfile =read_gitfile (used_path); +const char *gitfile =read_gitfile (path);if (gitfile) path = gitfile;if (chdir (path))
t/t0002-gitfile.sh +42 -0
46 lines not on this page · raw message
-- 8< --
Nguyễn Thái Ngọc Duy (6):
path.c: delete an extra space
t0002: add test for enter_repo(), non-strict mode
enter_repo: avoid duplicating logic, use is_git_directory() instead
enter_repo: allow .git files in strict mode
clone: allow --local from a linked checkout
clone: better error when --reference is a linked checkout
builtin/clone.c | 13 ++++++++++--- path.c | 14 +++++++++----- t/t0002-gitfile.sh | 42 ++++++++++++++++++++++++++++++++++++++++++ t/t2025-worktree-add.sh | 5 +++++ 4 files changed, 66 insertions(+), 8 deletions(-)
Signature · 1 line
2.3.0.rc1.137.g477eb31