Skip to content

Commit

Permalink
Strongly discourage --update-head-ok in fetch-options documentation.
Browse files Browse the repository at this point in the history
"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>
  • Loading branch information
Junio C Hamano committed Jan 1, 2007
1 parent 9066f4e commit a597fb0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Documentation/fetch-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit a597fb0

Please sign in to comment.