diff options
author | Matheus Tavares <matheus.bernardino@usp.br> | 2021-04-08 17:41:26 -0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-08 14:18:03 -0700 |
commit | b243012cb39e2151ffae96bded2387751d876d12 (patch) | |
tree | 0e48341636d3deef29b36fd33db5b712c0cdecd2 /advice.c | |
parent | pathspec: allow to ignore SKIP_WORKTREE entries on index matching (diff) | |
download | tgif-b243012cb39e2151ffae96bded2387751d876d12.tar.xz |
refresh_index(): add flag to ignore SKIP_WORKTREE entries
refresh_index() doesn't update SKIP_WORKTREE entries, but it still
matches them against the given pathspecs, marks the matches on the
seen[] array, check if unmerged, etc. In the following patch, one caller
will need refresh_index() to ignore SKIP_WORKTREE entries entirely, so
add a flag that implements this behavior.
While we are here, also realign the REFRESH_* flags and convert the hex
values to the more natural bit shift format, which makes it easier to
spot holes.
Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'advice.c')
0 files changed, 0 insertions, 0 deletions