git-svn: read the dcommit url from the config file on a per remote basis
[gitweb.git] / sha1_file.c
index 7459a9cd825907ba0ef48e06e4f46b5c14e1a8ff..5b6e0f61faa9d0ab93507e59b1e4704df97d9b79 100644 (file)
@@ -689,6 +689,7 @@ void free_pack_by_name(const char *pack_name)
        while (*pp) {
                p = *pp;
                if (strcmp(pack_name, p->pack_name) == 0) {
+                       clear_delta_base_cache();
                        close_pack_windows(p);
                        if (p->pack_fd != -1)
                                close(p->pack_fd);