about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui-snapshot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui-snapshot.c b/ui-snapshot.c
index 281899d..54e659c 100644
--- a/ui-snapshot.c
+++ b/ui-snapshot.c
@@ -14,6 +14,7 @@
 static int write_archive_type(const char *format, const char *hex, const char *prefix)
 {
 	struct argv_array argv = ARGV_ARRAY_INIT;
+	argv_array_push(&argv, "snapshot");
 	argv_array_push(&argv, format);
 	if (prefix) {
 		argv_array_push(&argv, "--prefix");