src/cm/media/js/lib/flexible-js-formatting/.git/hooks/applypatch-msg
author gibus
Mon, 21 May 2012 16:50:42 +0200
changeset 439 8994d24e4b2f
parent 0 40c8f766c9b8
permissions -rw-r--r--
Reverts to changeset 435, and just add {% csrf_token %} to template forgot_pw.html, since CSRF protection seems to be only here (surely because of django.contrib.auth.views).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     1
#!/bin/sh
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     2
#
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     3
# An example hook script to check the commit log message taken by
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     4
# applypatch from an e-mail message.
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     5
#
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     6
# The hook should exit with non-zero status after issuing an
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     7
# appropriate message if it wants to stop the commit.  The hook is
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     8
# allowed to edit the commit message file.
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     9
#
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    10
# To enable this hook, make this file executable.
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    11
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    12
. git-sh-setup
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    13
test -x "$GIT_DIR/hooks/commit-msg" &&
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    14
	exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    15
: