shallow: remove unused code
[gitweb.git] / builtin / receive-pack.c
index 78fe8ee62fdfc45051b4f52dffc37e7fa1eb961d..bc4f5dc4632350c39972a0c1c589f10f90b120df 100644 (file)
@@ -1059,7 +1059,6 @@ static void update_shallow_info(struct command *commands,
        struct command *cmd;
        int *ref_status;
        remove_nonexistent_theirs_shallow(si);
-       /* XXX remove_nonexistent_ours_in_pack() */
        if (!si->nr_ours && !si->nr_theirs) {
                shallow_update = 0;
                return;