summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9f199b1)
raw | patch | inline | side by side (parent: 9f199b1)
author | John Tapsell <johnflux@gmail.com> | |
Thu, 19 Feb 2009 07:36:00 +0000 (07:36 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 4 Mar 2009 08:56:52 +0000 (00:56 -0800) |
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: John Tapsell <johnflux@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
interface, where there is no clue as to what 'this file' means.
Signed-off-by: John Tapsell <johnflux@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
templates/hooks--update.sample | patch | blob | history | |
templates/this--description | patch | blob | history |
index 93c605594fc06683088b934273873165215ccbb5..a3f68ae3b4c2dbac2f5404a73eda3419532110cf 100755 (executable)
# 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.
index c6f25e80b8bcf0a21db2bea368b9e444c19bc0bf..498b267a8c7812490d6479839c5577eaaec79d62 100644 (file)
-Unnamed repository; edit this file to name it for gitweb.
+Unnamed repository; edit this file 'description' to name the repository.