git-imap-send.txt: don't duplicate 'Examples' sections
Remove the 'Examples' subsection in the 'Configuration' section and move these examples to the 'Examples' section. Also remove the 'Variables' title since it is now useless. Also, use appropriate Asciidoc syntax for configuration values, and capitalize 'Gmail' properly. Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
		
				
					committed by
					
						
						Junio C Hamano
					
				
			
			
				
	
			
			
			
						parent
						
							d9cd433147
						
					
				
				
					commit
					587e69b573
				
			@ -51,17 +51,13 @@ OPTIONS
 | 
			
		||||
CONFIGURATION
 | 
			
		||||
-------------
 | 
			
		||||
 | 
			
		||||
To use the tool, imap.folder and either imap.tunnel or imap.host must be set
 | 
			
		||||
To use the tool, `imap.folder` and either `imap.tunnel` or `imap.host` must be set
 | 
			
		||||
to appropriate values.
 | 
			
		||||
 | 
			
		||||
Variables
 | 
			
		||||
~~~~~~~~~
 | 
			
		||||
 | 
			
		||||
include::config/imap.txt[]
 | 
			
		||||
 | 
			
		||||
Examples
 | 
			
		||||
~~~~~~~~
 | 
			
		||||
 | 
			
		||||
EXAMPLES
 | 
			
		||||
--------
 | 
			
		||||
Using tunnel mode:
 | 
			
		||||
 | 
			
		||||
..........................
 | 
			
		||||
@ -93,10 +89,7 @@ Using direct mode with SSL:
 | 
			
		||||
.........................
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
EXAMPLES
 | 
			
		||||
--------
 | 
			
		||||
To submit patches using GMail's IMAP interface, first, edit your ~/.gitconfig
 | 
			
		||||
to specify your account settings:
 | 
			
		||||
Using Gmail's IMAP interface:
 | 
			
		||||
 | 
			
		||||
---------
 | 
			
		||||
[imap]
 | 
			
		||||
@ -107,14 +100,14 @@ to specify your account settings:
 | 
			
		||||
	sslverify = false
 | 
			
		||||
---------
 | 
			
		||||
 | 
			
		||||
You might need to instead use: folder = "[Google Mail]/Drafts" if you get an error
 | 
			
		||||
You might need to instead use: `folder = "[Google Mail]/Drafts"` if you get an error
 | 
			
		||||
that the "Folder doesn't exist".
 | 
			
		||||
 | 
			
		||||
Once the commits are ready to be sent, run the following command:
 | 
			
		||||
 | 
			
		||||
  $ git format-patch --cover-letter -M --stdout origin/master | git imap-send
 | 
			
		||||
 | 
			
		||||
Just make sure to disable line wrapping in the email client (GMail's web
 | 
			
		||||
Just make sure to disable line wrapping in the email client (Gmail's web
 | 
			
		||||
interface will wrap lines no matter what, so you need to use a real
 | 
			
		||||
IMAP client).
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user