]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/diagnose.c: create 'git diagnose' builtin
authorVictoria Dye <vdye@github.com>
Fri, 12 Aug 2022 20:10:15 +0000 (20:10 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Aug 2022 20:20:02 +0000 (13:20 -0700)
commit6783fd3cef0d6625e8a6d9d42d76042447078401
tree8970911181f2fa4f73cf8daa191b46af2f5286cd
parent33cba726f03e1e06b10b85cf4a1cbd1017810486
builtin/diagnose.c: create 'git diagnose' builtin

Create a 'git diagnose' builtin to generate a standalone zip archive of
repository diagnostics.

The "diagnose" functionality was originally implemented for Scalar in
aa5c79a331 (scalar: implement `scalar diagnose`, 2022-05-28). However, the
diagnostics gathered are not specific to Scalar-cloned repositories and
can be useful when diagnosing issues in any Git repository.

Helped-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Helped-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitignore
Documentation/git-diagnose.txt [new file with mode: 0644]
Makefile
builtin.h
builtin/diagnose.c [new file with mode: 0644]
git.c
t/t0092-diagnose.sh [new file with mode: 0755]