diff options
| author | Matheus Tavares <matheus.bernardino@usp.br> | 2021-04-08 17:41:25 -0300 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-04-08 14:18:03 -0700 |
| commit | 719630eb4826ff7f36bc060533dbccc3c96d151c (patch) | |
| tree | 56bf2c8141c856f5e926fbddaf48ad9df8658a85 /builtin/commit.c | |
| parent | add: make --chmod and --renormalize honor sparse checkouts (diff) | |
| download | git-719630eb4826ff7f36bc060533dbccc3c96d151c.tar.gz git-719630eb4826ff7f36bc060533dbccc3c96d151c.zip | |
pathspec: allow to ignore SKIP_WORKTREE entries on index matching
Add a new enum parameter to `add_pathspec_matches_against_index()` and
`find_pathspecs_matching_against_index()`, allowing callers to specify
whether these function should attempt to match SKIP_WORKTREE entries or
not. This will be used in a future patch to make `git add` display a
warning when it is asked to update SKIP_WORKTREE entries.
Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
