Revision 37ed7bf0f13d204ccb6b8e7e2fbcf7b3bf13e25c authored by Junio C Hamano on 13 December 2022, 12:24:14 UTC, committed by Junio C Hamano on 13 December 2022, 12:24:14 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent fea9f60
Raw File
diagnose.h
#ifndef DIAGNOSE_H
#define DIAGNOSE_H

#include "strbuf.h"
#include "parse-options.h"

enum diagnose_mode {
	DIAGNOSE_NONE,
	DIAGNOSE_STATS,
	DIAGNOSE_ALL
};

int option_parse_diagnose(const struct option *opt, const char *arg, int unset);

int create_diagnostics_archive(struct strbuf *zip_path, enum diagnose_mode mode);

#endif /* DIAGNOSE_H */
back to top