1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
// Warning!! Code generated automatically: this file must not be edited by hand
use crateoption_arg;
use crateFnOptionArg;
pub const GLOBAL: &str = "--global";
pub const SYSTEM: &str = "--system";
pub const LOCAL: &str = "--local";
pub const FILE: &str = "--file";
pub const BLOB: &str = "--blob";
pub const LIST: &str = "--list";
pub const BOOL: &str = "--bool";
pub const INT: &str = "--int";
pub const BOOL_OR_INT: &str = "--bool-or-int";
pub const PATH: &str = "--path";
pub const NULL: &str = "--null";
pub const NAME_ONLY: &str = "--name-only";
pub const SHOW_ORIGIN: &str = "--show-origin";
pub const EDIT: &str = "--edit";
/// For writing options: write to global ~/.gitconfig file rather than the repository .git/config, write to $XDG_CONFIG_HOME/git/config file if this file exists and the ~/.gitconfig file doesn’t.
/// --global
/// For writing options: write to system-wide $(prefix)/etc/gitconfig rather than the repository .git/config.
/// --system
/// For writing options: write to the repository .git/config file.
/// This is the default behavior.
/// --local
/// Use the given config file instead of the one specified by GIT_CONFIG.
/// -f <config-file>, --file <config-file>
/// Similar to --file but use the given blob instead of a file.
/// E.g.
/// you can use master:.gitmodules to read values from the file .gitmodules in the master branch.
/// --blob <blob>
/// List all variables set in config file, along with their values.
/// -l, --list
/// git config will ensure that the output is 'true' or 'false'
/// --bool
/// git config will ensure that the output is a simple decimal number.
/// An optional value suffix of k, m, or g in the config file will cause the value to be multiplied by 1024, 1048576, or 1073741824 prior to output.
/// --int
/// git config will ensure that the output matches the format of either --bool or --int, as described above.
/// --bool-or-int
/// git-config will expand leading ~ to the value of $HOME, and ~user to the home directory for the specified user.
/// This option has no effect when setting the value (but you can use git config bla ~/ from the command line to let your shell do the expansion).
/// --path
/// For all options that output values and/or keys, always end values with the null character (instead of a newline).
/// Use newline instead as a delimiter between key and value.
/// This allows for secure parsing of the output without getting confused e.g.
/// by values that contain line breaks.
/// -z, --null
/// Output only the names of config variables for --list or --get-regexp.
/// --name-only
/// Augment the output of all queried config options with the origin type (file, standard input, blob, command line)
/// and the actual origin (config file path, ref, or blob id if applicable).
/// --show-origin
/// Opens an editor to modify the specified config file; either --system, --global, or repository (default).
/// -e, --edit