Revision 71931c19658bd99747ebbb93f0155384ba97df2c authored by Linus Torvalds on 15 July 2005, 21:57:09 UTC, committed by Linus Torvalds on 15 July 2005, 21:57:09 UTC
Fix 'git-var.txt' and use "-b xhtml11" instead of "-b css-embedded" to
make asciidoc 7.0.1 happy.
1 parent 3eb5128
Raw File
git-sh-setup-script
#!/bin/sh
#
# Set up GIT_DIR and GIT_OBJECT_DIRECTORY
# and return true if everything looks ok
#
: ${GIT_DIR=.git}
: ${GIT_OBJECT_DIRECTORY="$GIT_DIR/objects"}

die() {
	echo "$@" >&2
	exit 1
}

[ -d "$GIT_DIR" ] &&
[ -d "$GIT_DIR/refs" ]
[ -d "$GIT_OBJECT_DIRECTORY" ] &&
[ -d "$GIT_OBJECT_DIRECTORY/00" ]
back to top