author | Junio C Hamano <gitster@pobox.com> | |
Sun, 10 May 2009 18:30:03 +0000 (11:30 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 11 May 2009 00:31:01 +0000 (17:31 -0700) | ||
commit | 1c64e79a622b43cff2d919632393c51f3fcc4f43 | |
tree | c41997708c590da61789b3ed377933b96a6f4520 | tree | snapshot |
parent | 801cfae8fd683761ae268cab8cec08e4b0f5a35b | commit | diff |
mktree --missing: allow missing objects
We need to allow input lines that point at objects that we do not
have when dealing with submodule entries anyway. This adds an explicit
option to allow missing objects of other types, to be consistent with
the use of --info-only option to the update-index command and --missing-ok
option to the write-tree command.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
We need to allow input lines that point at objects that we do not
have when dealing with submodule entries anyway. This adds an explicit
option to allow missing objects of other types, to be consistent with
the use of --info-only option to the update-index command and --missing-ok
option to the write-tree command.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-mktree.c | diff | blob | history | |
t/t1010-mktree.sh | diff | blob | history |