Git fork
at reftables-rust 18 lines 362 B view raw
1#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 */