Skip to content

Commit

Permalink
shell doc: remove stray "+" in example
Browse files Browse the repository at this point in the history
The git-shell(1) manpage says

	EXAMPLE
	       To disable interactive logins, displaying a greeting
		instead:

		+

		   $ chsh -s /usr/bin/git-shell
		   $ mkdir $HOME/git-shell-commands
[...]

The stray "+" has been there ever since the example was added in
v1.8.3-rc0~210^2 (shell: new no-interactive-login command to print a
custom message, 2013-03-09).  The "+" sign between paragraphs is
needed in asciidoc to attach extra paragraphs to a list item but here
it is not needed and ends up rendered as a literal "+".  Remove it.

A quick search with "grep -e '<p>+' /usr/share/doc/git/html/*.html"
doesn't find any other instances of this problem.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jonathan Nieder authored and Junio C Hamano committed May 8, 2014
1 parent 86ae051 commit e28dcdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/git-shell.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ EXAMPLE
-------

To disable interactive logins, displaying a greeting instead:
+

----------------
$ chsh -s /usr/bin/git-shell
$ mkdir $HOME/git-shell-commands
Expand Down

0 comments on commit e28dcdc

Please sign in to comment.