diff options
author | Victoria Dye <vdye@github.com> | 2022-08-12 22:10:16 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-08-12 22:20:02 +0200 |
commit | 7ecf193f7d621f618b322498d884ee103a44522f (patch) | |
tree | 0f32a7af200f886cadbceab0fc86be37f2789f70 /t/t0091-bugreport.sh | |
parent | builtin/diagnose.c: create 'git diagnose' builtin (diff) | |
download | git-7ecf193f7d621f618b322498d884ee103a44522f.tar.xz git-7ecf193f7d621f618b322498d884ee103a44522f.zip |
builtin/diagnose.c: add '--mode' option
Create '--mode=<mode>' option in 'git diagnose' to allow users to optionally
select non-default diagnostic information to include in the output archive.
Additionally, document the currently-available modes, emphasizing the
importance of not sharing a '--mode=all' archive publicly due to the
presence of sensitive information.
Note that the option parsing callback - 'option_parse_diagnose()' - is added
to 'diagnose.c' rather than 'builtin/diagnose.c' so that it may be reused in
future callers configuring a diagnostics archive.
Helped-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions