aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/fetch-options.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-01 15:07:35 -0800
committerJunio C Hamano <junkio@cox.net>2007-01-01 15:07:35 -0800
commita597fb0e713d172a34efb4bf6f65cf2f64cf4536 (patch)
tree959888707bda0ac38e0714875c5e93a95c8d8c12 /Documentation/fetch-options.txt
parent9066f4ef2fe27b7636094c06d2361820cd31e03e (diff)
downloadgit-a597fb0e713d172a34efb4bf6f65cf2f64cf4536.tar.gz
Strongly discourage --update-head-ok in fetch-options documentation.
"Use it with care" is a wrong wording to say "this is purely internal and you are supposed to know what you are doing if you use this". Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/fetch-options.txt')
-rw-r--r--Documentation/fetch-options.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt
index 13f34d3ca2..39bf77fbef 100644
--- a/Documentation/fetch-options.txt
+++ b/Documentation/fetch-options.txt
@@ -36,6 +36,8 @@
-u, \--update-head-ok::
By default `git-fetch` refuses to update the head which
corresponds to the current branch. This flag disables the
- check. Note that fetching into the current branch will not
- update the index and working directory, so use it with care.
+ check. This is purely for the internal use for `git-pull`
+ to communicate with `git-fetch`, and unless you are
+ implementing your own Porcelain you are not supposed to
+ use it.