]> git.ipfire.org Git - thirdparty/git.git/blob - diagnose.h
t3701: we don't need no Perl for `add -i` anymore
[thirdparty/git.git] / diagnose.h
1 #ifndef DIAGNOSE_H
2 #define DIAGNOSE_H
3
4 #include "strbuf.h"
5 #include "parse-options.h"
6
7 enum diagnose_mode {
8 DIAGNOSE_NONE,
9 DIAGNOSE_STATS,
10 DIAGNOSE_ALL
11 };
12
13 int option_parse_diagnose(const struct option *opt, const char *arg, int unset);
14
15 int create_diagnostics_archive(struct strbuf *zip_path, enum diagnose_mode mode);
16
17 #endif /* DIAGNOSE_H */