|
@@ -214,7 +214,7 @@ if [ "$myhost" = "find-version" ]; then
|
|
esac
|
|
esac
|
|
|
|
|
|
beta=no
|
|
beta=no
|
|
- if [ -d .git ]; then
|
|
|
|
|
|
+ if [ -e .git ]; then
|
|
ingit=yes
|
|
ingit=yes
|
|
tmp=$(git describe --match "${matchstr1}" --long 2>/dev/null)
|
|
tmp=$(git describe --match "${matchstr1}" --long 2>/dev/null)
|
|
if [ -n "$tmp" ]; then
|
|
if [ -n "$tmp" ]; then
|
|
@@ -423,7 +423,7 @@ if [ -d .git ]; then
|
|
[ -z "${SILENT}" ] && cat <<EOF
|
|
[ -z "${SILENT}" ] && cat <<EOF
|
|
*** Activating trailing whitespace git pre-commit hook. ***
|
|
*** Activating trailing whitespace git pre-commit hook. ***
|
|
For more information see this thread:
|
|
For more information see this thread:
|
|
- http://mail.gnome.org/archives/desktop-devel-list/2009-May/msg00084html
|
|
|
|
|
|
+ http://mail.gnome.org/archives/desktop-devel-list/2009-May/msg00084.html
|
|
To deactivate this pre-commit hook again move .git/hooks/pre-commit
|
|
To deactivate this pre-commit hook again move .git/hooks/pre-commit
|
|
and .git/hooks/pre-commit.sample out of the way.
|
|
and .git/hooks/pre-commit.sample out of the way.
|
|
EOF
|
|
EOF
|