Merge branch 'js/realpath-pathdup-fix'
commitba37c92df905a5bc51efe76e32f0e67c4ad5acbe
authorJunio C Hamano <gitster@pobox.com>
Mon, 13 Mar 2017 06:21:33 +0000 (12 23:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Mar 2017 06:21:33 +0000 (12 23:21 -0700)
treea01300f6b0ae623259f04aa38cca91f6f5f81047
parentfb070d2f17b0619cbc1be0606fd452b2294abb8d
parentce83eadd9a2c63db6263df91933da1b1b865d26a
Merge branch 'js/realpath-pathdup-fix'

Git v2.12 was shipped with an embarrassing breakage where various
operations that verify paths given from the user stopped dying when
seeing an issue, and instead later triggering segfault.

* js/realpath-pathdup-fix:
  real_pathdup(): fix callsites that wanted it to die on error
  t1501: demonstrate NULL pointer access with invalid GIT_WORK_TREE
cache.h
setup.c
worktree.c