complete set of log options

This commit is contained in:
Joey Hess 2012-01-06 21:48:30 -04:00
parent def6ca054e
commit 2557bb8764
2 changed files with 6 additions and 3 deletions

View file

@ -38,7 +38,9 @@ def = [withOptions options $
options :: [Option] options :: [Option]
options = options =
[ Option.field [] "after" paramDate "show log after date" [ Option.field [] "since" paramDate "show log since date"
, Option.field [] "after" paramDate "show log after date"
, Option.field [] "until" paramDate "show log until date"
, Option.field [] "before" paramDate "show log before date" , Option.field [] "before" paramDate "show log before date"
, Option.field ['n'] "max-count" paramNumber "limit number of logs displayed" , Option.field ['n'] "max-count" paramNumber "limit number of logs displayed"
] ]

View file

@ -278,8 +278,9 @@ subdirectories).
Displays the location log for the specified file or files, Displays the location log for the specified file or files,
showing each repository they were added to ("+") and removed from ("-"). showing each repository they were added to ("+") and removed from ("-").
To only show location changes after a date, specify --after=date. To limit how far back to seach for location log changes, the options
(The "date" can be any format accepted by git log, ie "last wednesday") --since, --after, --until, --before, and --max-count can be specified.
They are passed through to git log. For example, --since "1 month ago"
* status * status