git.samba.org
/
jelmer
/
etckeeper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fec117
)
hg-pre-commit-hook: typo when touching file
author
Mathieu Clabaut
<mathieu.clabaut@gmail.com>
Fri, 21 Dec 2007 21:47:30 +0000
(15:47 -0600)
committer
Joey Hess
<joey@kodama.kitenet.net>
Fri, 4 Jan 2008 00:53:46 +0000
(19:53 -0500)
hg/init.d/50hg-pre-commit-hook
patch
|
blob
|
history
diff --git
a/hg/init.d/50hg-pre-commit-hook
b/hg/init.d/50hg-pre-commit-hook
index 0603d308b4be8f47f09694082b56698dfa1f680d..bccd79b28552f30a626415ce7f7e1b33c539e783 100644
(file)
--- a/
hg/init.d/50hg-pre-commit-hook
+++ b/
hg/init.d/50hg-pre-commit-hook
@@
-3,7
+3,7
@@
set -e
if [ -e .hg/hgrc ] && grep "^\[hooks\]" .hg/hgrc; then
echo "etckeeper warning: [hooks] section in .hg/hgrc needs to be manually modified to run: etckeeper pre-commit `pwd`" >&2
else
- touch
+ touch
.hg/hgrc
cat >>.hg/hgrc <<EOF
[hooks]
# pre-commit hook for etckeeper, to store metadata and do sanity checks