From: Junio C Hamano Date: Wed, 13 May 2015 21:05:49 +0000 (-0700) Subject: Merge branch 'jk/init-core-worktree-at-root' into maint X-Git-Tag: v2.4.1~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a60abe10f2d54c668966f804bb400d21d08008a3;p=thirdparty%2Fgit.git Merge branch 'jk/init-core-worktree-at-root' into maint We avoid setting core.worktree when the repository location is the ".git" directory directly at the top level of the working tree, but the code misdetected the case in which the working tree is at the root level of the filesystem (which arguably is a silly thing to do, but still valid). * jk/init-core-worktree-at-root: init: don't set core.worktree when initializing /.git --- a60abe10f2d54c668966f804bb400d21d08008a3