From: Junio C Hamano Date: Thu, 30 Mar 2017 21:07:15 +0000 (-0700) Subject: Merge branch 'rs/freebsd-getcwd-workaround' X-Git-Tag: v2.13.0-rc0~43 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/49a8fe8e962ed929cf5bed5520e581025f5bfe9a?ds=inline;hp=--cc Merge branch 'rs/freebsd-getcwd-workaround' FreeBSD implementation of getcwd(3) behaved differently when an intermediate directory is unreadable/unsearchable depending on the length of the buffer provided, which our strbuf_getcwd() was not aware of. strbuf_getcwd() has been taught to cope with it better. * rs/freebsd-getcwd-workaround: strbuf: support long paths w/o read rights in strbuf_getcwd() on FreeBSD --- 49a8fe8e962ed929cf5bed5520e581025f5bfe9a