summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorBryan Larsen <bryanlarsen@yahoo.com>2005-07-11 03:53:44 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-11 17:20:53 (GMT)
commit9c1fa70aaa03f48fb172f9a96d57148f144bc3a9 (patch)
treea4033404b659642fea1aec200472a658c7eecbd5 /Documentation
parentab90ea5d6e6ef358c8ee5869307c33a939be0e66 (diff)
downloadgit-9c1fa70aaa03f48fb172f9a96d57148f144bc3a9.zip
git-9c1fa70aaa03f48fb172f9a96d57148f144bc3a9.tar.gz
git-9c1fa70aaa03f48fb172f9a96d57148f144bc3a9.tar.bz2
[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 <bryan.larsen@gmail.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-write-tree.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/git-write-tree.txt b/Documentation/git-write-tree.txt
index 458d97a..4c7db5f 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.
////////////////////////////////////////////////////////////////