aboutsummaryrefslogtreecommitdiffstats
path: root/diff.c
diff options
context:
space:
mode:
authorBen Peart <benpeart@microsoft.com>2019-02-15 12:59:21 -0500
committerJunio C Hamano <gitster@pobox.com>2019-02-15 11:00:33 -0800
commit1956ecd0ab26dea9c3ed6b9afe334101d9d12f60 (patch)
tree730cebe0459631dfcfebc1203300cd5d6c7ae468 /diff.c
parentGit 2.21-rc1 (diff)
downloadgit-1956ecd0ab26dea9c3ed6b9afe334101d9d12f60.tar.gz
git-1956ecd0ab26dea9c3ed6b9afe334101d9d12f60.zip
read-cache: add post-index-change hook
Add a post-index-change hook that is invoked after the index is written in do_write_locked_index(). This hook is meant primarily for notification, and cannot affect the outcome of git commands that trigger the index write. The hook is passed a flag to indicate whether the working directory was updated or not and a flag indicating if a skip-worktree bit could have changed. These flags enable the hook to optimize its response to the index change notification. Signed-off-by: Ben Peart <benpeart@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions
6464d1af02e5374acaac7dfdd&follow=1'>l10n: sv.po: Update Swedish translation (5204t0f0u)Peter Krefting1-3192/+3684 2021-05-20merge-ort, diffcore-rename: employ cached renames when possibleElijah Newren4-30/+90 2021-05-20merge-ort: handle interactions of caching and rename/rename(1to1) casesElijah Newren1-1/+29 2021-05-20merge-ort: add helper functions for using cached renamesElijah Newren1-0/+47 2021-05-20merge-ort: preserve cached renames for the appropriate sideElijah Newren1-9/+11 2021-05-20merge-ort: avoid accidental API mis-useElijah Newren2-0/+9 2021-05-20merge-ort: add code to check for whether cached renames can be reusedElijah Newren1-2/+64 2021-05-20merge-ort: populate caches of rename detection resultsElijah Newren1-1/+72 2021-05-20merge-ort: add data structures for in-memory caching of rename detectionElijah Newren1-0/+53 2021-05-20t6429: testcases for remembering renamesElijah Newren2-6/+700 2021-05-20fast-rebase: write conflict state to working tree, index, and HEADElijah Newren1-19/+32 2021-05-20fast-rebase: change assert() to BUG()Elijah Newren1-1/+2