summaryrefslogtreecommitdiff
path: root/index-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-09-23 02:05:35 -0700
committerJunio C Hamano <gitster@pobox.com>2008-09-23 02:05:35 -0700
commitc4275591fbb7d582c397b228e38dbb8419c89330 (patch)
treec373b96e267cdc6760ef579135113284985fb7cf /index-pack.c
parentc76dc9592d1c770212d50ee7a7028a74f472f23b (diff)
parentdb87e3960c5a770db13c9ba9602b5e88848e2d1a (diff)
downloadgit-c4275591fbb7d582c397b228e38dbb8419c89330.tar.gz
Merge branch 'maint'
* maint: builtin-prune.c: prune temporary packs in <object_dir>/pack directory Do not perform cross-directory renames when creating packs
Diffstat (limited to 'index-pack.c')
-rw-r--r--index-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/index-pack.c b/index-pack.c
index a6e91fe3ba..530d820370 100644
--- a/index-pack.c
+++ b/index-pack.c
@@ -172,7 +172,7 @@ static char *open_pack_file(char *pack_name)
if (!pack_name) {
static char tmpfile[PATH_MAX];
snprintf(tmpfile, sizeof(tmpfile),
- "%s/tmp_pack_XXXXXX", get_object_directory());
+ "%s/pack/tmp_pack_XXXXXX", get_object_directory());
output_fd = xmkstemp(tmpfile);
pack_name = xstrdup(tmpfile);
} else