* Rebased to recent master (v2.6.0-rc0).
* Use git_pathdup_submodule() instead of git_path_submodule()
* There are more conflicts in pu with [1], not sure
what should I do about it.
* Style fixes as Stefan suggested
[1] http://thread.gmane.org/gmane.comp.version-control.git/276628
Max Kirillov (2):
submodule refactor: use git_pathdup_submodule() in add_submodule_odb()
path: implement common_dir handling in git_pathdup_submodule()
cache.h | 1 +
path.c | 22 ++++++++++++++++++----
setup.c | 17 ++++++++++++-----
submodule.c | 30 ++++++++++++------------------
t/t7410-submodule-checkout-to.sh | 10 ++++++++++
5 files changed, 53 insertions(+), 27 deletions(-)