This patchset is based on mr/show-config-scope. Since v5, I addressed comments from Martin and Junio. - Reorganized the series so the ecosystem cleanup comes before the interesting new features. - Spread out manpage updates to indicate each new feature as it's added. - Fixed a number of patches which assumed a repo, so bugreport can now run anywhere. - Wordsmithing in the report template. - die() instead of overwriting an existing report. - Added --suffix to allow user to change the name of the report to git-bugreport-<strftime format>.txt. - General NULL-ptr, leak, and bashism cleanup. - Changed safelist macro from bugreport:include[x] to annotate:bugreport[include]. - Use git_config_get_value_multi() instead of a config callback to gather the safelist configs. - Added a convenience for_each_pack() macro to object-store.h and began using it in packfile.c and bugreport.c for pack summary Emily Shaffer (15): help: move list_config_help to builtin/help help: add shell-path to --build-options bugreport: add tool to generate debugging info bugreport: gather git version and build info bugreport: add uname info bugreport: add compiler info bugreport: add git-remote-https version bugreport: include user interactive shell bugreport: generate config safelist based on docs bugreport: add config values from safelist bugreport: collect list of populated hooks bugreport: count loose objects bugreport: add packed object summary bugreport: list contents of $OBJDIR/info bugreport: summarize contents of alternates file .gitignore | 3 + Documentation/asciidoc.conf | 9 + Documentation/asciidoctor-extensions.rb | 5 + Documentation/config/sendemail.txt | 56 ++-- Documentation/git-bugreport.txt | 55 ++++ Makefile | 27 +- bugreport.c | 409 ++++++++++++++++++++++++ builtin/help.c | 86 +++++ compat/compiler.h | 24 ++ generate-bugreport-config-safelist.sh | 17 + generate-cmdlist.sh | 19 -- generate-configlist.sh | 24 ++ help.c | 132 ++------ help.h | 2 +- object-store.h | 6 + packfile.c | 3 +- remote-curl.c | 8 + t/t0091-bugreport.sh | 49 +++ 18 files changed, 778 insertions(+), 156 deletions(-) create mode 100644 Documentation/git-bugreport.txt create mode 100644 bugreport.c create mode 100644 compat/compiler.h create mode 100755 generate-bugreport-config-safelist.sh create mode 100755 generate-configlist.sh create mode 100755 t/t0091-bugreport.sh -- 2.25.0.341.g760bfbb309-goog