[PATCH v6 0/2] path: implement common_dir handling in git_path_submodule()
- From
Max Kirillov <max@max630.net>
- Date
- Aug 4, 2015, 21:51 UTC
- Message-ID
- <1438725067-3295-1-git-send-email-max@max630.net>
- In-Reply-To
- <1438635836-7857-1-git-send-email-max@max630.net>
Fixed the pointer declaration spacing issue and updated commit messages.
The 1/2 refactoring still might leave some cases behind. I could grep only function connect_work_tree_and_git_dir() which, as far as I can see, involved in moving repositories. Have not touched it because correct moving parts of multiple-worktree repositories probably is a bigger task than just fix config file location.
Max Kirillov (2): submodule refactor: use git_path_submodule() in add_submodule_odb() path: implement common_dir handling in git_path_submodule()
cache.h | 1 + path.c | 24 ++++++++++++++++++++---- setup.c | 17 ++++++++++++----- submodule.c | 28 ++++++++++------------------ t/t7410-submodule-checkout-to.sh | 10 ++++++++++ 5 files changed, 53 insertions(+), 27 deletions(-)
-- 2.3.4.2801.g3d0809b