Squashed 'third_party/git/' content from commit cb71568594
git-subtree-dir: third_party/git git-subtree-split: cb715685942260375e1eb8153b0768a376e4ece7
This commit is contained in:
commit
1b593e1ea4
3629 changed files with 1139935 additions and 0 deletions
24
trace2/tr2_cmd_name.h
Normal file
24
trace2/tr2_cmd_name.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#ifndef TR2_CMD_NAME_H
|
||||
#define TR2_CMD_NAME_H
|
||||
|
||||
/*
|
||||
* Append the current command name to the list being maintained
|
||||
* in the environment.
|
||||
*
|
||||
* The hierarchy for a top-level git command is just the current
|
||||
* command name. For a child git process, the hierarchy includes the
|
||||
* names of the parent processes.
|
||||
*
|
||||
* The hierarchy for the current process will be exported to the
|
||||
* environment and inherited by child processes.
|
||||
*/
|
||||
void tr2_cmd_name_append_hierarchy(const char *name);
|
||||
|
||||
/*
|
||||
* Get the command name hierarchy for the current process.
|
||||
*/
|
||||
const char *tr2_cmd_name_get_hierarchy(void);
|
||||
|
||||
void tr2_cmd_name_release(void);
|
||||
|
||||
#endif /* TR2_CMD_NAME_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue