summaryrefslogtreecommitdiff
path: root/builtin/fsck.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-08-24 14:54:28 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-08-24 14:54:28 -0700
commita654836d96aced223bfbee57bd2ac1989eb6d77f (patch)
tree029067273ef10b890748f59404ce978618653980 /builtin/fsck.c
parentNinth batch (diff)
parentinit: disallow --separate-git-dir with bare repository (diff)
downloadtgif-a654836d96aced223bfbee57bd2ac1989eb6d77f.tar.xz
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
Diffstat (limited to 'builtin/fsck.c')
0 files changed, 0 insertions, 0 deletions