Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/trace2/tr2_cmd_name.h # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / trace2 / tr2_cmd_name.h` 24 lines ยท 660 bytes Raw Blame History 1 #ifndef TR2_CMD_NAME_H 2 #define TR2_CMD_NAME_H 3 4 /* 5 * Append the current command name to the list being maintained 6 * in the environment. 7 * 8 * The hierarchy for a top-level git command is just the current 9 * command name. For a child git process, the hierarchy includes the 10 * names of the parent processes. 11 * 12 * The hierarchy for the current process will be exported to the 13 * environment and inherited by child processes. 14 */ 15 void tr2_cmd_name_append_hierarchy(const char *name); 16 17 /* 18 * Get the command name hierarchy for the current process. 19 */ 20 const char *tr2_cmd_name_get_hierarchy(void); 21 22 void tr2_cmd_name_release(void); 23 24 #endif /* TR2_CMD_NAME_H */