aboutsummaryrefslogtreecommitdiffstats
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 @@
14static int write_archive_type(const char *format, const char *hex, const char *prefix) 14static int write_archive_type(const char *format, const char *hex, const char *prefix)
15{ 15{
16 struct argv_array argv = ARGV_ARRAY_INIT; 16 struct argv_array argv = ARGV_ARRAY_INIT;
17 argv_array_push(&argv, "snapshot");
17 argv_array_push(&argv, format); 18 argv_array_push(&argv, format);
18 if (prefix) { 19 if (prefix) {
19 argv_array_push(&argv, "--prefix"); 20 argv_array_push(&argv, "--prefix");