blob: 9bef3217081a7e547e883ad30a40092dd0ed86c7 [file] [log] [blame]
Jeff Hostetleree4512e2019-02-22 14:25:01 -08001#ifndef TR2_SID_H
2#define TR2_SID_H
3
4/*
5 * Get our session id. Compute if necessary.
6 */
7const char *tr2_sid_get(void);
8
9/*
10 * Get our process depth. A top-level git process invoked from the
11 * command line will have depth=0. A child git process will have
12 * depth=1 and so on.
13 */
14int tr2_sid_depth(void);
15
16void tr2_sid_release(void);
17
18#endif /* TR2_SID_H */