Diff options
Diffstat (limited to 'source/cmd.h')
-rw-r--r--source/cmd.h4
1 file changed, 4 insertions, 0 deletions
diff --git a/source/cmd.h b/source/cmd.h
index f47878b..a855574 100644
--- a/source/cmd.h
+++ b/source/cmd.h
@@ -14,6 +14,10 @@ struct cgit_cmd {
const char *name;
cgit_cmd_fn fn;
unsigned int want_repo:1, want_vpath:1, is_clone:1;
+ // Set on the pages that render the same bytes for the same id for
+ // ever. A log or refs page named with an id still lists branches and
+ // tags, which move.
+ unsigned int is_static:1;
};
/*