Code

git-merge-base/git-show-branch: Cleanup documentation and usage
[git.git] / builtin-pack-objects.c
index a27c2f6277cd55951cec5d9b5b207df426ed9ff0..ef4bf6bc14aadffcd85999c2eca59e5a0e7e6451 100644 (file)
@@ -2255,6 +2255,10 @@ int cmd_pack_objects(int argc, const char **argv, const char *prefix)
                                die("bad %s", arg);
                        continue;
                }
+               if (!strcmp(arg, "--keep-true-parents")) {
+                       grafts_replace_parents = 0;
+                       continue;
+               }
                usage(pack_usage);
        }