Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Spell the signature suffix once for both files
Diffstat (limited to 'source/ui-snapshot.h')
-rw-r--r--source/ui-snapshot.h3
1 file changed, 3 insertions, 0 deletions
diff --git a/source/ui-snapshot.h b/source/ui-snapshot.h
index 2278f4c..77252b5 100644
--- a/source/ui-snapshot.h
+++ b/source/ui-snapshot.h
@@ -33,6 +33,9 @@ extern unsigned cgit_snapshot_format_bit(const struct cgit_snapshot_format *f);
*/
extern int cgit_parse_snapshots_mask(const char *str);
+// The suffix that names a signature after the archive it signs.
+#define SIG_SUFFIX ".asc"
+
/*
* The detached signature stored for this format under refs/notes, if any.
*/