git/contrib/scalar
Victoria Dye 672196a307 scalar-diagnose: use 'git diagnose --mode=all'
Replace implementation of 'scalar diagnose' with an internal invocation of
'git diagnose --mode=all'. This simplifies the implementation of
'cmd_diagnose' by making it a direct alias of 'git diagnose' and removes
some code in 'scalar.c' that is duplicated in 'builtin/diagnose.c'. The
simplicity of the alias also sets up a clean deprecation path for 'scalar
diagnose' (in favor of 'git diagnose'), if that is desired in the future.

This introduces one minor change to the output of 'scalar diagnose', which
is that the prefix of the created zip archive is changed from 'scalar_' to
'git-diagnostics-'.

Helped-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-08-12 13:20:02 -07:00
..
t scalar-diagnose: use "$GIT_UNZIP" in test 2022-08-12 13:20:02 -07:00
.gitignore scalar: create a rudimentary executable 2021-12-04 21:52:23 -08:00
Makefile contrib/scalar: fix 'all' target in Makefile 2022-04-06 10:19:57 -07:00
scalar.c scalar-diagnose: use 'git diagnose --mode=all' 2022-08-12 13:20:02 -07:00
scalar.txt scalar: reword command documentation to clarify purpose 2022-07-18 11:03:56 -07:00