diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-03-31 22:04:20 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-31 22:04:20 -0700 |
commit | 5ed23425407c16c17ae07a4bc427c663ef82cd95 (patch) | |
tree | d13b8b846004d87d3bd73f1ab2043e9d35b0fd95 /trace.h | |
parent | 97fc5de7934376e978509677fec1debdbd14bcdf (diff) | |
parent | fb9c2d27039a23457cb9710d86e00c51dfb910dc (diff) | |
download | git-pu.tar.gz |
Merge branch 'jk/relative-directory-fix' into pupu
Some codepaths, including the refs API, get and keep relative
paths, that go out of sync when the process does chdir(2). The
chdir-notify API is introduced to let these codepaths adjust these
cached paths to the new current directory.
* jk/relative-directory-fix:
refs: use chdir_notify to update cached relative paths
set_work_tree: use chdir_notify
add chdir-notify API
trace.c: export trace_setup_key
set_git_dir: die when setenv() fails
Diffstat (limited to 'trace.h')
-rw-r--r-- | trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -15,6 +15,7 @@ extern struct trace_key trace_default_key; #define TRACE_KEY_INIT(name) { "GIT_TRACE_" #name, 0, 0, 0 } extern struct trace_key trace_perf_key; +extern struct trace_key trace_setup_key; extern void trace_repo_setup(const char *prefix); extern int trace_want(struct trace_key *key); |