]> git.ipfire.org Git - thirdparty/git.git/blobdiff - cache.h
push: flag updates that require force
[thirdparty/git.git] / cache.h
diff --git a/cache.h b/cache.h
index 2dc4decbc9d2ef994789dbda6bea1b40bcc9fe80..b7ab4ac62428a3bc50224801bfee0277c6139e16 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -999,9 +999,13 @@ struct ref {
        unsigned char old_sha1[20];
        unsigned char new_sha1[20];
        char *symref;
-       unsigned int force:1,
+       unsigned int
+               force:1,
+               requires_force:1,
                merge:1,
                nonfastforward:1,
+               not_forwardable:1,
+               update:1,
                deletion:1;
        enum {
                REF_STATUS_NONE = 0,
@@ -1183,6 +1187,7 @@ extern int pager_in_use(void);
 extern int pager_use_color;
 extern int term_columns(void);
 extern int decimal_width(int);
+extern int check_pager_config(const char *cmd);
 
 extern const char *editor_program;
 extern const char *askpass_program;