From: Junio C Hamano Date: Mon, 24 Aug 2020 21:54:28 +0000 (-0700) Subject: Merge branch 'es/init-no-separate-git-dir-in-bare' X-Git-Tag: v2.29.0-rc0~139 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a654836d96aced223bfbee57bd2ac1989eb6d77f;p=thirdparty%2Fgit.git Merge branch 'es/init-no-separate-git-dir-in-bare' The purpose of "git init --separate-git-dir" is to initialize a new project with the repository separate from the working tree, or, in the case of an existing project, to move the repository (the .git/ directory) out of the working tree. It does not make sense to use --separate-git-dir with a bare repository for which there is no working tree, so disallow its use with bare repositories. * es/init-no-separate-git-dir-in-bare: init: disallow --separate-git-dir with bare repository --- a654836d96aced223bfbee57bd2ac1989eb6d77f