]> git.ipfire.org Git - thirdparty/git.git/commit - t/t4013/diff.log_-m_-p_master
Merge branch 'es/init-no-separate-git-dir-in-bare'
authorJunio C Hamano <gitster@pobox.com>
Mon, 24 Aug 2020 21:54:28 +0000 (14:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Aug 2020 21:54:28 +0000 (14:54 -0700)
commita654836d96aced223bfbee57bd2ac1989eb6d77f
tree029067273ef10b890748f59404ce978618653980
parent675a4aaf3b226c0089108221b96559e0baae5de9
parentccf236a23adb5cfb4e5285daad083149458d7828
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
builtin/init-db.c
t/t0001-init.sh