https://github.com/git/git
Revision 0f158320593bd57fe2c3fe55fbce751e9415ffc2 authored by Johannes Schindelin on 10 April 2024, 19:06:57 UTC, committed by Johannes Schindelin on 19 April 2024, 10:38:43 UTC
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent f5b2af0
Raw File
Tip revision: 0f158320593bd57fe2c3fe55fbce751e9415ffc2 authored by Johannes Schindelin on 10 April 2024, 19:06:57 UTC
Git 2.41.1
Tip revision: 0f15832
diagnose.h
#ifndef DIAGNOSE_H
#define DIAGNOSE_H

#include "strbuf.h"

struct option;

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