diff options
author | Jiang Xin <worldhello.net@gmail.com> | 2021-03-04 22:40:13 +0800 |
---|---|---|
committer | Jiang Xin <worldhello.net@gmail.com> | 2021-03-04 22:40:13 +0800 |
commit | 4dd8469336cc06923acceb3ea4ae02ea00461c5d (patch) | |
tree | 92aa9b355242c8904510bb9b61ddfa94b4d1ee47 /fsmonitor.h | |
parent | l10n: tr: v2.31.0-rc0 (diff) | |
parent | Git 2.31-rc1 (diff) | |
download | tgif-4dd8469336cc06923acceb3ea4ae02ea00461c5d.tar.xz |
Merge branch 'master' of github.com:git/git
* 'master' of github.com:git/git: (63 commits)
Git 2.31-rc1
Hopefully the last batch before -rc1
Revert "commit-graph: when incompatible with graphs, indicate why"
read-cache: make the index write buffer size 128K
dir: fix malloc of root untracked_cache_dir
commit-graph.c: display correct number of chunks when writing
doc/reftable: document how to handle windows
fetch-pack: print and use dangling .gitmodules
fetch-pack: with packfile URIs, use index-pack arg
http-fetch: allow custom index-pack args
http: allow custom index-pack args
chunk-format: add technical docs
chunk-format: restore duplicate chunk checks
midx: use 64-bit multiplication for chunk sizes
midx: use chunk-format read API
commit-graph: use chunk-format read API
chunk-format: create read chunk API
midx: use chunk-format API in write_midx_internal()
midx: drop chunk progress during write
midx: return success/failure in chunk write methods
...
Diffstat (limited to 'fsmonitor.h')
-rw-r--r-- | fsmonitor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fsmonitor.h b/fsmonitor.h index 739318ab6d..7f1794b90b 100644 --- a/fsmonitor.h +++ b/fsmonitor.h @@ -45,6 +45,11 @@ void tweak_fsmonitor(struct index_state *istate); void refresh_fsmonitor(struct index_state *istate); /* + * Does the received result contain the "trivial" response? + */ +int fsmonitor_is_trivial_response(const struct strbuf *query_result); + +/* * Set the given cache entries CE_FSMONITOR_VALID bit. This should be * called any time the cache entry has been updated to reflect the * current state of the file on disk. |