checkout-index: work from subdirectory.
[gitweb.git] / prune-packed.c
index 16685d1d8b25358f8df45a92262b4b0f6ea9cef5..26123f7f6bb8bf9cc7fc27905fe2b67d66646f05 100644 (file)
@@ -71,6 +71,7 @@ int main(int argc, char **argv)
                /* Handle arguments here .. */
                usage(prune_packed_usage);
        }
+       sync();
        prune_packed_objects();
        return 0;
 }