unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 1/1] devel/STYLE: information how to enable standard pre-commit hook
@ 2013-03-23 12:07 Tomi Ollila
  2013-03-26  9:18 ` Jani Nikula
  2013-03-29 14:12 ` David Bremner
  0 siblings, 2 replies; 4+ messages in thread
From: Tomi Ollila @ 2013-03-23 12:07 UTC (permalink / raw)
  To: notmuch; +Cc: tomi.ollila

It is easier to enable git standard pre-commit hook, when the
operation to do so is presented.
---
 devel/STYLE | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/devel/STYLE b/devel/STYLE
index 0792ba1..92de42c 100644
--- a/devel/STYLE
+++ b/devel/STYLE
@@ -45,8 +45,9 @@ function (param_type param, param_type param)
    - likewise, there is a space following keywords such as if and while
    - every binary operator should have space on either side.
 
-* No trailing whitespace. Please enable the standard pre-commit hook
-  in git (or an equivalent hook).
+* No trailing whitespace. Please enable the standard pre-commit hook in git
+  (or an equivalent hook). The standard pre-commit hook is enabled by simply
+  renaming file '.git/hooks/pre-commit.sample' to '.git/hooks/pre-commit' .
 
 * The name in a function prototype should start at the beginning of a line.
 
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-03-29 14:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-23 12:07 [PATCH 1/1] devel/STYLE: information how to enable standard pre-commit hook Tomi Ollila
2013-03-26  9:18 ` Jani Nikula
2013-03-26  9:30   ` Tomi Ollila
2013-03-29 14:12 ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).