repo.or.cz
/
alt-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
t: convert tests to not write references via the filesystem
[alt-git.git]
/
diagnose.h
blob
f525219ab0cf9b36249892c847e731b952b081af
1
#ifndef DIAGNOSE_H
2
#define DIAGNOSE_H
3
4
#include
"strbuf.h"
5
6
struct
option
;
7
8
enum
diagnose_mode
{
9
DIAGNOSE_NONE
,
10
DIAGNOSE_STATS
,
11
DIAGNOSE_ALL
12
};
13
14
int
option_parse_diagnose
(
const struct
option
*
opt
,
const char
*
arg
,
int
unset
);
15
16
int
create_diagnostics_archive
(
struct
strbuf
*
zip_path
,
enum
diagnose_mode mode
);
17
18
#endif
/* DIAGNOSE_H */