summaryrefslogtreecommitdiff
path: root/sys/man/1/git
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2022-07-03 04:38:13 +0000
committerOri Bernstein <ori@eigenstate.org>2022-07-03 04:38:13 +0000
commit21aac62c1f0fa565a860d4880ec56b84eb9dd8dd (patch)
treec095e06aea6160188a9f8c61141b986c52735c91 /sys/man/1/git
parentd457233c70ef6aa28861dd2978e92968ffba0920 (diff)
git/log: support -n option to restrict log counts
this is useful for scripting, and convenient for interactive use.
Diffstat (limited to 'sys/man/1/git')
-rw-r--r--sys/man/1/git9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/man/1/git b/sys/man/1/git
index 5f1e7cef6..d4681e273 100644
--- a/sys/man/1/git
+++ b/sys/man/1/git
@@ -96,6 +96,10 @@ git/pull, git/rm, git/serve
.I expr
]
[
+.B -n
+.I count
+]
+[
.B -s
]
[
@@ -384,6 +388,11 @@ The
.I -s
option shows a summary of the commit, instead of the full message.
The
+.I -n count
+option stops printing messages after
+.I count
+messages.
+The
.I -e expr
option shows commits matching the query expression provided.
The expression is in the syntax of