提交 28001d08 编写于 作者: J John Tapsell 提交者: Junio C Hamano

Modify description file to say what this file is

A lot of people see this message for the first time on the gitweb
interface, where there is no clue as to what 'this file' means.
Signed-off-by: NJohn Tapsell <johnflux@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 9f199b15
......@@ -43,10 +43,12 @@ allowdeletetag=$(git config --bool hooks.allowdeletetag)
# check for no description
projectdesc=$(sed -e '1q' "$GIT_DIR/description")
if [ -z "$projectdesc" -o "$projectdesc" = "Unnamed repository; edit this file to name it for gitweb." ]; then
case "$projectdesc" in
"Unnamed repository"* | "")
echo "*** Project description file hasn't been set" >&2
exit 1
fi
;;
esac
# --- Check types
# if $newrev is 0000...0000, it's a commit to delete a ref.
......
Unnamed repository; edit this file to name it for gitweb.
Unnamed repository; edit this file 'description' to name the repository.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册