repo.or.cz
/
git
/
gitster.git
/
blob
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
The sixteenth batch
[git/gitster.git]
/
diagnose.h
blob
f7b38f49f5271ad00bf17d14e7b2aab3e9e174d5
1
#ifndef DIAGNOSE_H
2
#define DIAGNOSE_H
3
4
#include
"strbuf.h"
5
6
struct
option
;
7
struct
repository
;
8
9
enum
diagnose_mode
{
10
DIAGNOSE_NONE
,
11
DIAGNOSE_STATS
,
12
DIAGNOSE_ALL
13
};
14
15
int
option_parse_diagnose
(
const struct
option
*
opt
,
const char
*
arg
,
int
unset
);
16
17
int
create_diagnostics_archive
(
struct
repository
*
r
,
18
struct
strbuf
*
zip_path
,
19
enum
diagnose_mode mode
);
20
21
#endif
/* DIAGNOSE_H */