summaryrefslogtreecommitdiff
path: root/advice.h
diff options
context:
space:
mode:
authorMatheus Tavares <matheus.bernardino@usp.br>2021-04-08 20:41:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-04-08 21:18:03 (GMT)
commitb243012cb39e2151ffae96bded2387751d876d12 (patch)
tree0e48341636d3deef29b36fd33db5b712c0cdecd2 /advice.h
parent719630eb4826ff7f36bc060533dbccc3c96d151c (diff)
downloadgit-b243012cb39e2151ffae96bded2387751d876d12.zip
git-b243012cb39e2151ffae96bded2387751d876d12.tar.gz
git-b243012cb39e2151ffae96bded2387751d876d12.tar.bz2
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.h')
0 files changed, 0 insertions, 0 deletions