X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=git-sh-setup-script;h=84e15df1bcedba39e9310700d2aa7bf14dde2395;hb=933693da77857b12ba86d999a601dbdb8ab212ff;hp=660c524ce86dfdcf818a1e6698ddf135bac28a58;hpb=b33e9666082ce692e64ccfd688dc2a5075566f75;p=git.git diff --git a/git-sh-setup-script b/git-sh-setup-script old mode 100644 new mode 100755 index 660c524c..84e15df1 --- a/git-sh-setup-script +++ b/git-sh-setup-script @@ -11,7 +11,6 @@ die() { exit 1 } -[ -d "$GIT_DIR" ] && -[ -d "$GIT_DIR/refs" ] -[ -d "$GIT_OBJECT_DIRECTORY" ] && +[ -h "$GIT_DIR/HEAD" ] && +[ -d "$GIT_DIR/refs" ] && [ -d "$GIT_OBJECT_DIRECTORY/00" ]