diff options
| author | Miguel Arroz <750683+arroz@users.noreply.github.com> | 2021-12-31 16:40:58 -0800 |
|---|---|---|
| committer | Miguel Arroz <750683+arroz@users.noreply.github.com> | 2021-12-31 16:40:58 -0800 |
| commit | ef84889189c65b4e977ec199925b1b0ea44ed1cc (patch) | |
| tree | cac426217cca065fb7c2f0284858ff95fafb6f60 /include/git2/status.h | |
| parent | 50b4d53ef3897fd4066cd74734f4a6e141a64201 (diff) | |
| download | libgit2-ef84889189c65b4e977ec199925b1b0ea44ed1cc.tar.gz | |
Add `rename_threshold` to `git_status_options`.
Diffstat (limited to 'include/git2/status.h')
| -rw-r--r-- | include/git2/status.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/git2/status.h b/include/git2/status.h index 526df6399..d8f9663b4 100644 --- a/include/git2/status.h +++ b/include/git2/status.h @@ -250,6 +250,12 @@ typedef struct { * working directory and index; defaults to HEAD. */ git_tree *baseline; + + /** + * Threshold above which similar files will be considered renames. + * This is equivalent to the -M option. Defaults to 50. + */ + uint16_t rename_threshold; } git_status_options; #define GIT_STATUS_OPTIONS_VERSION 1 |
