aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-21 13:19:58 -0700
committerJunio C Hamano <junkio@cox.net>2006-04-21 13:25:47 -0700
commit91efcf60653b2538b05625807293b97c07cb04f4 (patch)
tree0240b448657063bc251be1c79596377ea8b91542 /templates
parent43885c2a557871aedcbb1a412fc18e98c3dd1dc4 (diff)
parent70827b15bfb11f7aea52c6995956be9d149233e1 (diff)
downloadgit-91efcf60653b2538b05625807293b97c07cb04f4.tar.xz
Merge branch 'master' into jc/fmt-patch
* master: Split up builtin commands into separate files from git.c git-log produces no output fix pack-object buffer size mailinfo: decode underscore used in "Q" encoding properly. Reintroduce svn pools to solve the memory leak. pack-objects: do not stop at object that is "too small" git-commit --amend: two fixes. get_tree_entry(): make it available from tree-walk sha1_name.c: no need to include diff.h; tree-walk.h will do. sha1_name.c: prepare to make get_tree_entry() reusable from others. get_sha1() shorthands for blob/tree objects pre-commit hook: complain about conflict markers. git-merge: a bit more readable user guidance. diff: move diff.c to diff-lib.c to make room. git log: don't do merge diffs by default Allow "git repack" users to specify repacking window/depth Document git-clone --reference Fix filename scaling for binary files Fix uninteresting tags in new revision parsing Conflicts: Adjusted the addition of fmt-patch to match the recent split from git.c to builtin.log.c.
Diffstat (limited to 'templates')
-rw-r--r--templates/hooks--pre-commit3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/hooks--pre-commit b/templates/hooks--pre-commit
index 43d3b6ef4a..723a9ef210 100644
--- a/templates/hooks--pre-commit
+++ b/templates/hooks--pre-commit
@@ -61,6 +61,9 @@ perl -e '
if (/^\s* /) {
bad_line("indent SP followed by a TAB", $_);
}
+ if (/^(?:[<>=]){7}/) {
+ bad_line("unresolved merge conflict", $_);
+ }
}
}
exit($found_bad);