diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-05-29 12:34:43 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-29 12:34:43 +0900 |
commit | f382b756a67e9c9e57fb4d4f07513cc9acd1aae9 (patch) | |
tree | adc45eb01bfeb9a50b28800ef16a6f4b956cbae6 /split-index.h | |
parent | Merge branch 'jk/diff-submodule-diff-inline' (diff) | |
parent | p3400: add perf tests for rebasing many changes (diff) | |
download | tgif-f382b756a67e9c9e57fb4d4f07513cc9acd1aae9.tar.xz |
Merge branch 'nd/split-index-unshare'
Plug some leaks and updates internal API used to implement the
split index feature to make it easier to avoid such a leak in the
future.
* nd/split-index-unshare:
p3400: add perf tests for rebasing many changes
split-index: add and use unshare_split_index()
Diffstat (limited to 'split-index.h')
-rw-r--r-- | split-index.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/split-index.h b/split-index.h index df91c1bda8..65c0f09b2b 100644 --- a/split-index.h +++ b/split-index.h @@ -33,5 +33,6 @@ void finish_writing_split_index(struct index_state *istate); void discard_split_index(struct index_state *istate); void add_split_index(struct index_state *istate); void remove_split_index(struct index_state *istate); +void unshare_split_index(struct index_state *istate, int discard); #endif |