Code

Documentation: clarify quoting in "git rm" example
authorJonathan Nieder <jrnieder@gmail.com>
Fri, 20 Aug 2010 10:30:24 +0000 (05:30 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Aug 2010 21:16:21 +0000 (14:16 -0700)
commitc300578f12ec23ba22f16af16259650e38e88f87
tree4431ed2d1e80ddd067178b2377c5fcfab00f267b
parent3988da063611de7391f794791a4622caf47c0708
Documentation: clarify quoting in "git rm" example

Intended output:

git rm Documentation/\*.txt
Removes all *.txt files from the index that are under
the Documentation directory and any of its
subdirectories.

Note that the asterisk * is quoted from the shell in
this example; this lets git, and not the shell, expand
the pathnames of files and subdirectories under the
Documentation/ directory.

Without this change, there are too many backslashes output.
Tested with asciidoc 8.5.2.

Reported-by: Frédéric Brière <fbriere@fbriere.net>
Cc: Carl Worth <cworth@cworth.org>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-rm.txt