summaryrefslogtreecommitdiffstatshomepage
path: root/ui-snapshot.c
diff options
context:
space:
mode:
authorChristian Hesse2016-11-30 10:43:08 +0100
committerChristian Hesse2016-11-30 10:43:08 +0100
commit91153fd02e62f2eaca8e6c140baa4f2abf39c40e (patch)
tree6f132121243ba2e5702364be71f9572004bbb5fb /ui-snapshot.c
parent2b993402c7ed5849606a5bf4d3c7cb212f491b06 (diff)
downloadcgit-91153fd02e62f2eaca8e6c140baa4f2abf39c40e.tar.gz
git: update to v2.11.0
Update to git version v2.11.0. Function write_archive() dropped argument (int setup_prefix).
Diffstat (limited to '')
-rw-r--r--ui-snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-snapshot.c b/ui-snapshot.c
index 08c6e80..9b8cddd 100644
--- a/ui-snapshot.c
+++ b/ui-snapshot.c
@@ -37,7 +37,7 @@ static int write_archive_type(const char *format, const char *hex, const char *p
/* argv_array guarantees a trailing NULL entry. */
memcpy(nargv, argv.argv, sizeof(char *) * (argv.argc + 1));
- result = write_archive(argv.argc, nargv, NULL, 1, NULL, 0);
+ result = write_archive(argv.argc, nargv, NULL, NULL, 0);
argv_array_clear(&argv);
free(nargv);
return result;