branch doc: sprinkle a few commas for readability
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 Oct 2017 02:34:31 +0000 (11:34 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Oct 2017 04:26:57 +0000 (13:26 +0900)
The "--force" option can also be used when the named branch does not
yet exist, and the point of the option is the user can (re)point the
branch to the named commit even if it does. Add 'even' before 'if'
to clarify. Also, insert another comma after "Without -f" before
"the command refuses..." to make the text easier to parse.

Incidentally, this change should help certain versions of
docbook-xsl-stylesheets that render the original without any
whitespace between "-f" and "git".

Noticed-by: Lars Schneider <larsxschneider@gmail.com>
Helped-by: Jeff King <peff@peff.net>
Helped-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-branch.txt
index d0b33587717a198655164f5dd5e35e116a8a30e0..3672195b3ac4ab6b716142cbf45d8c3e50d14b8d 100644 (file)
@@ -99,8 +99,8 @@ OPTIONS
 
 -f::
 --force::
-       Reset <branchname> to <startpoint> if <branchname> exists
-       already. Without `-f` 'git branch' refuses to change an existing branch.
+       Reset <branchname> to <startpoint>, even if <branchname> exists
+       already. Without `-f`, 'git branch' refuses to change an existing branch.
        In combination with `-d` (or `--delete`), allow deleting the
        branch irrespective of its merged status. In combination with
        `-m` (or `--move`), allow renaming the branch even if the new