From: Junio C Hamano Date: Tue, 30 Jan 2024 21:34:12 +0000 (-0800) Subject: Merge branch 'kl/allow-working-in-dot-git-in-non-bare-repository' X-Git-Tag: v2.44.0-rc0~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8bf3c0cac802487f308f5986620723ee3c27969;p=thirdparty%2Fgit.git Merge branch 'kl/allow-working-in-dot-git-in-non-bare-repository' The "disable repository discovery of a bare repository" check, triggered by setting safe.bareRepository configuration variable to 'explicit', has been loosened to exclude the ".git/" directory inside a non-bare repository from the check. So you can do "cd .git && git cmd" to run a Git command that works on a bare repository without explicitly specifying $GIT_DIR now. * kl/allow-working-in-dot-git-in-non-bare-repository: setup: allow cwd=.git w/ bareRepository=explicit --- a8bf3c0cac802487f308f5986620723ee3c27969