aboutsummaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-11-01 21:43:01 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-11-01 21:43:01 +0100
commit4f41e06880f4d9b979ec001da5046373cd867c2f (patch)
treef084ed93e8387e3fa814aa17dee80b5a263bf81b /src/globals.h
parent420d354fffa1e69f050ba32d8521c6d84c4f8dd1 (diff)
Add -H
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/src/globals.h b/src/globals.h
index 1285db3..f0ed91b 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -15,15 +15,22 @@ typedef struct {
#endif
} op_t;
+enum {
+ HDR_NEVER,
+ HDR_MULTI,
+ HDR_ALWAYS,
+};
+
typedef struct {
- bool b : 1;
- bool c : 1;
- bool i : 1;
- bool l : 1;
- bool p : 1;
- bool s : 1;
- bool U : 1;
- bool z : 1;
+ bool b : 1;
+ bool c : 1;
+ unsigned H : 2;
+ bool i : 1;
+ bool l : 1;
+ bool p : 1;
+ bool s : 1;
+ bool U : 1;
+ bool z : 1;
#if !GIT_GRAB
bool do_header : 1;