projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a626dff
)
Use a symbolic link for the pre-commit client-side hook
author
Edward Hervey
<bilboed@bilboed.com>
Fri, 30 Jan 2009 07:30:28 +0000
(08:30 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Fri, 30 Jan 2009 07:41:20 +0000
(08:41 +0100)
autogen.sh
patch
|
blob
|
history
common
patch
|
blob
|
history
diff --git
a/autogen.sh
b/autogen.sh
index
c0c60ce
..
be7dd10
100755
(executable)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-23,10
+23,10
@@
fi
. common/gst-autogen.sh
# install pre-commit hook for doing clean commits
-if test !
-x .git/hooks/pre-commit
;
+if test !
\( -x .git/hooks/pre-commit -a -L .git/hooks/pre-commit \)
;
then
-
cp common/hooks/pre-commit.hook
.git/hooks/pre-commit
-
chmod +x
.git/hooks/pre-commit
+
rm -f
.git/hooks/pre-commit
+
ln -s ../../common/hooks/pre-commit.hook
.git/hooks/pre-commit
fi
diff --git
a/common
b/common
index
3f4e997
..
f7bd42d
160000
(submodule)
--- a/
common
+++ b/
common
@@
-1
+1
@@
-Subproject commit
3f4e9974603807e7615c3a6b8821542abce0be19
+Subproject commit
f7bd42d4fa7f9b976fe5e697ff914e25f25e8853