X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=stagit.1;h=360f7166826423c27b98044f285669ddfbe25820;hb=ab6c98580a0d100618c8acc0602b36663517ba61;hp=18698d8f9cb44c479a599a5cf6bcad52002e957a;hpb=8eabe24bdda7003453bbd034d82ebc479e2c76bc;p=stagit.git diff --git a/stagit.1 b/stagit.1 index 18698d8..360f716 100644 --- a/stagit.1 +++ b/stagit.1 @@ -1,4 +1,4 @@ -.Dd May 1, 2016 +.Dd February 6, 2019 .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 @@ -34,8 +46,8 @@ Atom XML feed .It files.html List of files in the latest tree, linking to the file. .It log.html -List of commits in order of most recent to old of the commits (top to bottom), -each commit links to a page with a diffstat and diff of the commit. +List of commits in reverse chronological applied commit order, each commit +links to a page with a diffstat and diff of the commit. .It refs.html Lists references of the repository such as branches and tags. .El