projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f47550
)
maint: adjust git hook to allow "copy: ..." on line 1 of commit message
author
Jim Meyering
<meyering@redhat.com>
Sun, 13 Nov 2011 19:00:08 +0000
(20:00 +0100)
committer
Jim Meyering
<meyering@redhat.com>
Sun, 13 Nov 2011 19:02:55 +0000
(20:02 +0100)
* scripts/git-hooks/commit-msg: Add "copy" to the list of valid
command-name-like summary line prefixes.
scripts/git-hooks/commit-msg
patch
|
blob
|
history
diff --git
a/scripts/git-hooks/commit-msg
b/scripts/git-hooks/commit-msg
index
96d5947
..
76b829d
100755
(executable)
--- a/
scripts/git-hooks/commit-msg
+++ b/
scripts/git-hooks/commit-msg
@@
-42,7
+42,7
@@
check_msg()
test|timeout|touch|tr|true|truncate|tsort|tty|uname|unexpand) ;;
uniq|unlink|uptime|users|vdir|wc|who|whoami|yes) ;;
# other tags
- gnulib|tests|maint|doc|build|scripts) ;;
+
copy|
gnulib|tests|maint|doc|build|scripts) ;;
*) echo "invalid first word of summary line: $w"; fail=1;;
esac
done