summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-09-29 04:41:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-09-29 19:15:05 (GMT)
commit38cfe915bfc3ea0dbcbedaa82c44460a2ada2f42 (patch)
tree1ea3151ef7bbd0f6466aad8268d768c3a08e6c13 /Documentation
parentbaa6378ff2106738c74213280904507d0ed8129c (diff)
downloadgit-38cfe915bfc3ea0dbcbedaa82c44460a2ada2f42.zip
git-38cfe915bfc3ea0dbcbedaa82c44460a2ada2f42.tar.gz
git-38cfe915bfc3ea0dbcbedaa82c44460a2ada2f42.tar.bz2
revision: make --grep search in notes too if shown
Notes are shown after commit body. From user perspective it looks pretty much like commit body and they may assume --grep would search in that part too. Make it so. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/rev-list-options.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index ca22106..ee49743 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -66,6 +66,9 @@ endif::git-rev-list[]
more than one `--grep=<pattern>`, commits whose message
matches any of the given patterns are chosen (but see
`--all-match`).
++
+When `--show-notes` is in effect, the message from the notes as
+if it is part of the log message.
--all-match::
Limit the commits output to ones that match all given --grep,