Doc: update docs for Version Control General options

Change-Id: Ibe7fdf312ad18a06f787d32caca963e058475003
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Leena Miettinen
2014-07-18 16:29:56 +02:00
parent 45b1169d06
commit 1fe054c6b7
2 changed files with 20 additions and 17 deletions

View File

@@ -96,9 +96,9 @@
to \c %HOMEDRIVE%%HOMEPATH% when the Git executable is run and authorization to \c %HOMEDRIVE%%HOMEPATH% when the Git executable is run and authorization
works as it would with \c {git bash}. works as it would with \c {git bash}.
\section1 Setting Up Common Options \section1 Setting Up General Options
Select \gui{Tools} > \gui{Options} > \gui{Version Control} > \gui{Common} Select \gui{Tools} > \gui{Options} > \gui{Version Control} > \gui{General}
to specify settings for submit messages: to specify settings for submit messages:
\list \list
@@ -109,33 +109,36 @@
parameter. If there is an error, the script should output a parameter. If there is an error, the script should output a
message on standard error and return a non-zero exit code. message on standard error and return a non-zero exit code.
\li \gui{User/alias configuration file} takes a file in mailmap format \li \gui{User/alias configuration file} is a text file that lists
that lists user names and aliases. For example: author names in mailmap format. For each author, you must specify a
real name and email address and optionally an alias and a second
email address. For example:
\code \code
Jon Doe <Jon.Doe@company.com> Jon Doe <Jon.Doe@company.com> jdoe <jdoe@somemail.com>
Hans Mustermann <Hans.Mustermann@company.com> hm <info@company.com> Hans Mustermann <Hans.Mustermann@company.com> hm <info@company.com>
\endcode \endcode
\note The second line above specifies the alias \e{hm} and the After you specify a file in this field, you can select authors
corresponding email address for \e{Hans Mustermann}. If the as values of the submit message fields in the \gui Nicknames dialog.
user/alias configuration file is present, the submit editor
displays a context menu with \gui{Insert name} that pops up a
dialog letting the user select a name.
\li \gui{User fields configuration file} is a simple text file \li \gui{User fields configuration file} is a simple text file
consisting of lines specifying submit message fields that take consisting of lines specifying submit message fields that take
user names, for example: authors as values, for example:
\code \code
Reviewed-by: Acked-by:
Initial-patch-by:
Reported-by:
Rubber-stamped-by:
Signed-off-by: Signed-off-by:
Tested-by:
\endcode \endcode
The fields above appear below the submit message. They provide After you specify a file in this field, you can add authors as
completion for the aliases/public user names specified in the values of the submit message fields when submitting changes. If
\e{User/alias configuration file} as well as a button that opens the you also specified a \gui{User/alias configuration file}, you can
aforementioned user name dialog. select authors in the \gui Nicknames dialog.
\li \gui{SSH prompt command} specifies an ssh-askpass command that you \li \gui{SSH prompt command} specifies an ssh-askpass command that you
can use (on Linux) to prompt the user for a password when using SSH. can use (on Linux) to prompt the user for a password when using SSH.

View File

@@ -72,7 +72,7 @@
<item row="3" column="0"> <item row="3" column="0">
<widget class="QLabel" name="nickNameMailMapLabel"> <widget class="QLabel" name="nickNameMailMapLabel">
<property name="toolTip"> <property name="toolTip">
<string>A file listing user names and email addresses in a 4-column mailmap format: <string>A file listing nicknames in a 4-column mailmap format:
'name &lt;email&gt; alias &lt;email&gt;'.</string> 'name &lt;email&gt; alias &lt;email&gt;'.</string>
</property> </property>
<property name="text"> <property name="text">