submodules: Use relative paths to gitdir and work tree
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | submodules: always use a relative path to gitdirgit-submodule.sh t/ | +6 | 4 replies | |
| 2/2 | submodules: always use a relative path from gitdir to work treegit-submodule.sh t/ | +29 | 6 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] submodules: Use relative paths to gitdir and work tree
This patch series replaces all absolute paths pointing from submodule work trees to its gitdir and back with relative paths as discussed in $gmane/187785.
The motivation is to make superprojects movable again. They lost this ability with the move of the git directory of submodules into the .git/modules directory of the superproject. While fixing that a bug which would hit when moving the submodule inside the superproject was also fixed.
Jens Lehmann (2):
submodules: always use a relative path to gitdir
submodules: always use a relative path from gitdir to work tree
git-submodule.sh | 23 ++++++++++++++++------- t/t7400-submodule-basic.sh | 22 ++++++++++++++++++++++ 2 files changed, 38 insertions(+), 7 deletions(-)
Signature · 1 line
1.7.9.190.gb17a42.dirty