Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Strongly discourage --update-head-ok in fetch-options documentation.
author
Junio C Hamano
<junkio@cox.net>
Mon, 1 Jan 2007 23:07:35 +0000
(15:07 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 1 Jan 2007 23:07:35 +0000
(15:07 -0800)
"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>
Documentation/fetch-options.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
9066f4e
)
diff --git
a/Documentation/fetch-options.txt
b/Documentation/fetch-options.txt
index 13f34d3ca28a402d56420f3bf5615837cf529e0a..39bf77fbef2f7b0b113ad7c478fa260f6984f0cb 100644
(file)
--- 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.