|
libfossil
|
Configuration for use with fsl_annotate(). More...
#include "repo.h"
Data Fields | |
| bool | dumpVersions |
| If true, annotation output will start with a list of all versions analyzed by the annotation process. | |
| char const * | filename |
| The repository-root-relative NUL-terminated filename to annotate. | |
| bool | fileVersions |
| Output file blob versions, instead of checkin versions. | |
| uint32_t | limitMs |
| An approximate number of milliseconds of processing time to limit the annotation to. | |
| uint32_t | limitVersions |
| The maximum number of versions to search through. | |
| fsl_id_t | originRid |
| The origin checkin version. | |
| fsl_annotate_step_f | out |
| The output channel for the resulting annotation. | |
| void * | outState |
| State for passing as the first argument to this->out(). | |
| bool | praise |
| If true, include the name of the user for which each change is attributed (noting that merges show whoever merged the change, which may differ from the original committer, and amended user names will be used over those in the initial commit). | |
| int16_t | spacePolicy |
| fsl_id_t | versionRid |
| The checkin from which the file's version should be selected. | |
Configuration for use with fsl_annotate().
This structure holds options for the "annotate" operation and its close cousin, "blame" a.k.a. "praise." Annotation takes a given file version and builds a line-by-line history, showing when each line was last modified. The "blame" a.k.a. "praise" option includes who* modified that line.
| bool fsl_annotate_opt::dumpVersions |
| char const* fsl_annotate_opt::filename |
| bool fsl_annotate_opt::fileVersions |
| uint32_t fsl_annotate_opt::limitMs |
An approximate number of milliseconds of processing time to limit the annotation to.
Note that this is measured in CPU time, not "wall clock" time. This value is rough minimum approximation, and the annotation will stop at the first processing step after which this limit has been hit or surpassed.
Even with this limit in place, the annotation engine may impose a minimum number of versions to step through before it enforces this limit.
If both this and limitVersions are set to positive values, the first limit which is exceeded is applied.
| uint32_t fsl_annotate_opt::limitVersions |
| fsl_id_t fsl_annotate_opt::originRid |
| fsl_annotate_step_f fsl_annotate_opt::out |
| void* fsl_annotate_opt::outState |
| bool fsl_annotate_opt::praise |
If true, include the name of the user for which each change is attributed (noting that merges show whoever merged the change, which may differ from the original committer, and amended user names will be used over those in the initial commit).
If false, show only version information.
This option is alternately known as "blame".
For reasons lost to history, blame/praise mode does not include line numbers. That may change in the future.
| int16_t fsl_annotate_opt::spacePolicy |
| fsl_id_t fsl_annotate_opt::versionRid |