Revert "lstat_cache(): print a warning if doing ping-pong between cache types"
[gitweb.git] / builtin-fetch.c
index 8c86974cbee0341d7c0e110055bb4347ad5908ad..1e4a3d9c516c88d701819b7f4b73c722412d540f 100644 (file)
@@ -673,7 +673,7 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
                ref_nr = j;
        }
 
-       sigchain_push(SIGINT, unlock_pack_on_signal);
+       sigchain_push_common(unlock_pack_on_signal);
        atexit(unlock_pack);
        exit_code = do_fetch(transport,
                        parse_fetch_refspec(ref_nr, refs), ref_nr);