MCPcopy Create free account
hub / github.com/git/git / trace_disable

Function trace_disable

trace.c:89–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void trace_disable(struct trace_key *key)
90{
91 if (key->need_close)
92 close(key->fd);
93 key->fd = 0;
94 key->initialized = 1;
95 key->need_close = 0;
96}
97
98static int prepare_trace_line(const char *file, int line,
99 struct trace_key *key, struct strbuf *buf)

Callers 3

get_trace_fdFunction · 0.85
trace_override_envvarFunction · 0.85
trace_writeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected