vim syntax: follow recent changes to commit template
authorJeff King <peff@peff.net>
Mon, 18 Dec 2006 07:26:42 +0000 (02:26 -0500)
committerJunio C Hamano <junkio@cox.net>
Mon, 18 Dec 2006 08:00:15 +0000 (00:00 -0800)
This patch changes the syntax highlighting to correctly match the new
text of the commit message introduced by
82dca84871637ac9812c0dec27f56d07cfba524c

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/vim/syntax/gitcommit.vim
index a9de09fa2fec161d6a0170553f2b507bca483cef..d911efbb4b2e5a15d7550e5f1513b81915d7a6a9 100644 (file)
@@ -1,7 +1,7 @@
 syn region gitLine start=/^#/ end=/$/
-syn region gitCommit start=/^# Updated but not checked in:$/ end=/^#$/ contains=gitHead,gitCommitFile
+syn region gitCommit start=/^# Added but not yet committed:$/ end=/^#$/ contains=gitHead,gitCommitFile
 syn region gitHead contained start=/^#   (.*)/ end=/^#$/
-syn region gitChanged start=/^# Changed but not updated:/ end=/^#$/ contains=gitHead,gitChangedFile
+syn region gitChanged start=/^# Changed but not added:/ end=/^#$/ contains=gitHead,gitChangedFile
 syn region gitUntracked start=/^# Untracked files:/ end=/^#$/ contains=gitHead,gitUntrackedFile
 
 syn match gitCommitFile contained /^#\t.*/hs=s+2