The sixteenth batch
[git/gitster.git] / diagnose.h
blobf7b38f49f5271ad00bf17d14e7b2aab3e9e174d5
1 #ifndef DIAGNOSE_H
2 #define DIAGNOSE_H
4 #include "strbuf.h"
6 struct option;
7 struct repository;
9 enum diagnose_mode {
10 DIAGNOSE_NONE,
11 DIAGNOSE_STATS,
12 DIAGNOSE_ALL
15 int option_parse_diagnose(const struct option *opt, const char *arg, int unset);
17 int create_diagnostics_archive(struct repository *r,
18 struct strbuf *zip_path,
19 enum diagnose_mode mode);
21 #endif /* DIAGNOSE_H */