diff options
Diffstat (limited to 'src/pack.c')
-rw-r--r-- | src/pack.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pack.c b/src/pack.c index 516e0f3ca..79032381c 100644 --- a/src/pack.c +++ b/src/pack.c @@ -1105,7 +1105,6 @@ int git_packfile_alloc(struct git_pack_file **pack_out, const char *path) p->pack_keep = 1; memcpy(p->pack_name + root_len, ".pack", sizeof(".pack")); - path_len = path_len - strlen(".idx") + strlen(".pack"); } if (p_stat(p->pack_name, &st) < 0 || !S_ISREG(st.st_mode)) { |