Merge branch 'sb/submodule-helper-clone-regression-fix' into maint
commitf5e16b2a7ba0ed12e4674f111386643e16692fe9
authorJunio C Hamano <gitster@pobox.com>
Mon, 2 May 2016 21:24:08 +0000 (2 14:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 May 2016 21:24:08 +0000 (2 14:24 -0700)
tree823e268977668485eb5efced6308c193b987de28
parent75375ea337dcd5c3dc2f8f793d7c8a3ee59f5564
parent1f15ba1f3c370acbe85d451fe1520bffe0b2cb6f
Merge branch 'sb/submodule-helper-clone-regression-fix' into maint

A partial rewrite of "git submodule" in the 2.7 timeframe changed
the way the gitdir: pointer in the submodules point at the real
repository location to use absolute paths by accident.  This has
been corrected.

* sb/submodule-helper-clone-regression-fix:
  submodule--helper, module_clone: catch fprintf failure
  submodule--helper: do not borrow absolute_path() result for too long
  submodule--helper, module_clone: always operate on absolute paths
  submodule--helper clone: create the submodule path just once
  submodule--helper: fix potential NULL-dereference
  recursive submodules: test for relative paths
builtin/submodule--helper.c
t/t7400-submodule-basic.sh