Merge branch 'am/real-path-fix'
authorJunio C Hamano <gitster@pobox.com>
Wed, 25 Mar 2020 20:57:42 +0000 (13:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Mar 2020 20:57:43 +0000 (13:57 -0700)
commit4d0e8996ec54e53149c2f24075eb64921ca61812
tree32333cbbf2a91ed8708ceda7e8ce998ccb369fc2
parent38afd2d1ad8afc59e3bed02b8c4be2080e8e5150
parent49d3c4b481f12c2ec655a71d5a5b9259a398d059
Merge branch 'am/real-path-fix'

The real_path() convenience function can easily be misused; with a
bit of code refactoring in the callers' side, its use has been
eliminated.

* am/real-path-fix:
  get_superproject_working_tree(): return strbuf
  real_path_if_valid(): remove unsafe API
  real_path: remove unsafe API
  set_git_dir: fix crash when used with real_path()
setup.c