From 9c1fa70aaa03f48fb172f9a96d57148f144bc3a9 Mon Sep 17 00:00:00 2001 From: Bryan Larsen Date: Sun, 10 Jul 2005 20:53:44 -0700 Subject: [PATCH] add --missing-ok option to write-tree This option allows a write-tree even if the referenced objects are not in the database. Signed-off-by: Bryan Larsen Signed-off-by: Linus Torvalds --- Documentation/git-write-tree.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Documentation/git-write-tree.txt') diff --git a/Documentation/git-write-tree.txt b/Documentation/git-write-tree.txt index 458d97ac9..4c7db5f59 100644 --- a/Documentation/git-write-tree.txt +++ b/Documentation/git-write-tree.txt @@ -10,6 +10,7 @@ git-write-tree - Creates a tree from the current cache SYNOPSIS -------- 'git-write-tree' + [--missing-ok] DESCRIPTION ----------- @@ -23,7 +24,11 @@ In order to have that match what is actually in your directory right now, you need to have done a "git-update-cache" phase before you did the "git-write-tree". - +OPTIONS +------- +--missing-ok:: + Normally "git-write-tree" ensures that the objects referenced by the + directory exist in the object database. This option disables this check. //////////////////////////////////////////////////////////////// -- cgit v1.2.1