Revision 5dc73662976e81de19a5b3a76f4733962f541df5 authored by Junio C Hamano on 23 February 2024, 00:09:45 UTC, committed by Junio C Hamano on 23 February 2024, 00:09:45 UTC
* la/trailer-cleanups:
  trailer: fix comment/cut-line regression with opts->no_divider
2 parent s efb050b + bc47139
Raw File
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