Git 2.46-rc2
[git/debian.git] / diagnose.h
blobf525219ab0cf9b36249892c847e731b952b081af
1 #ifndef DIAGNOSE_H
2 #define DIAGNOSE_H
4 #include "strbuf.h"
6 struct option;
8 enum diagnose_mode {
9 DIAGNOSE_NONE,
10 DIAGNOSE_STATS,
11 DIAGNOSE_ALL
14 int option_parse_diagnose(const struct option *opt, const char *arg, int unset);
16 int create_diagnostics_archive(struct strbuf *zip_path, enum diagnose_mode mode);
18 #endif /* DIAGNOSE_H */