]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/submodule--helper.c
Merge branch 'sb/submodule-helper-clone-regression-fix'
authorJunio C Hamano <gitster@pobox.com>
Fri, 22 Apr 2016 22:45:03 +0000 (15:45 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 22 Apr 2016 22:45:04 +0000 (15:45 -0700)
commitdeef3cdc08eb16354d16da0813585d60d5f34412
treee2ba54fe1054d0455e936c7f486b570b5eceb1ee
parente6ac6e1f7d54584c2b03f073b5f329a37f4a9561
parent1f15ba1f3c370acbe85d451fe1520bffe0b2cb6f
Merge branch 'sb/submodule-helper-clone-regression-fix'

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