Clarify regex for git commit --verbose (#1606)

This commit is contained in:
Nikita Bobko 2020-04-05 21:04:36 +03:00 committed by GitHub
parent 1cf9537340
commit 92f4cb7ef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ rules:
# Diffs (i.e. git commit --verbose) # Diffs (i.e. git commit --verbose)
- default: - default:
start: "^diff" start: "^diff --git"
# Diff output puts a space before file contents on each line so this # Diff output puts a space before file contents on each line so this
# should never match valid diff output and extend highlighting to the # should never match valid diff output and extend highlighting to the
# end of the file # end of the file