aboutsummaryrefslogtreecommitdiffstats
path: root/stagit.1
diff options
context:
space:
mode:
authorHiltjo Posthuma <[email protected]>2018-01-21 16:47:10 +0100
committerHiltjo Posthuma <[email protected]>2018-01-21 16:47:10 +0100
commit31392c13cf805602c6e4a46695a27325d908f3fb (patch)
tree5ca7406ddf7140733e60938c17314eeab32693b0 /stagit.1
parent2f2ecde5c38db848cf6286aca9fc0f73137244e6 (diff)
downloadstagit-31392c13cf805602c6e4a46695a27325d908f3fb.tar.gz
stagit-31392c13cf805602c6e4a46695a27325d908f3fb.zip
stagit: add -l option: limit the amount of commits for the log.html file
Diffstat (limited to 'stagit.1')
-rw-r--r--stagit.114
1 files changed, 13 insertions, 1 deletions
diff --git a/stagit.1 b/stagit.1
index 18698d8..3e9a77a 100644
--- a/stagit.1
+++ b/stagit.1
@@ -1,4 +1,4 @@
-.Dd May 1, 2016
+.Dd Januari 21, 2018
.Dt STAGIT 1
.Os
.Sh NAME
@@ -7,6 +7,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl c Ar cachefile
+.Op Fl l Ar commits
.Ar repodir
.Sh DESCRIPTION
.Nm
@@ -25,8 +26,19 @@ will store the last commit id and the entries in the HTML table.
It is up to the user to make sure the state of the
.Ar cachefile
is in sync with the history of the repository.
+.It Fl l Ar commits
+Write a maximum number of
+.Ar commits
+to the log.html file only.
+However the commit files are written as usual.
.El
.Pp
+The options
+.Fl c
+and
+.Fl l
+cannot be used at the same time.
+.Pp
The following files will be written:
.Bl -tag -width Ds
.It atom.xml