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>
Junio C Hamano committed
Jan 1, 2007 at 15:07 UTC
a597fb0e713d172a34efb4bf6f65cf2f64cf4536
1 file changed
+4
-2
Documentation/fetch-options.txt
+4
-2
@@ -36,6 +36,8 @@
36
-u, \--update-head-ok::
37
By default `git-fetch` refuses to update the head which
38
corresponds to the current branch. This flag disables the
39
- check. Note that fetching into the current branch will not
40
- update the index and working directory, so use it with care.
39
+ check. This is purely for the internal use for `git-pull`
40
+ to communicate with `git-fetch`, and unless you are
41
+ implementing your own Porcelain you are not supposed to
42
+ use it.
43