]>
Commit | Line | Data |
---|---|---|
ee4512ed JH |
1 | #ifndef TR2_SID_H |
2 | #define TR2_SID_H | |
3 | ||
4 | /* | |
5 | * Get our session id. Compute if necessary. | |
6 | */ | |
7 | const 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 | */ | |
14 | int tr2_sid_depth(void); | |
15 | ||
16 | void tr2_sid_release(void); | |
17 | ||
18 | #endif /* TR2_SID_H */ |