提交 dca3d715 编写于 作者: J Junio C Hamano

Merge branch 'maint'

* maint:
  Documentation: clarify -u<mode> option defaults
...@@ -214,10 +214,11 @@ FROM UPSTREAM REBASE" section in linkgit:git-rebase[1].) ...@@ -214,10 +214,11 @@ FROM UPSTREAM REBASE" section in linkgit:git-rebase[1].)
-u[<mode>]:: -u[<mode>]::
--untracked-files[=<mode>]:: --untracked-files[=<mode>]::
Show untracked files (Default: 'all'). Show untracked files.
+ +
The mode parameter is optional, and is used to specify The mode parameter is optional (defaults to 'all'), and is used to
the handling of untracked files. specify the handling of untracked files; when -u is not used, the
default is 'normal', i.e. show untracked files and directories.
+ +
The possible options are: The possible options are:
+ +
...@@ -225,9 +226,8 @@ The possible options are: ...@@ -225,9 +226,8 @@ The possible options are:
- 'normal' - Shows untracked files and directories - 'normal' - Shows untracked files and directories
- 'all' - Also shows individual files in untracked directories. - 'all' - Also shows individual files in untracked directories.
+ +
See linkgit:git-config[1] for configuration variable The default can be changed using the status.showUntrackedFiles
used to change the default for when the option is not configuration variable documented in linkgit:git-config[1].
specified.
-v:: -v::
--verbose:: --verbose::
......
...@@ -38,20 +38,20 @@ OPTIONS ...@@ -38,20 +38,20 @@ OPTIONS
-u[<mode>]:: -u[<mode>]::
--untracked-files[=<mode>]:: --untracked-files[=<mode>]::
Show untracked files (Default: 'all'). Show untracked files.
+ +
The mode parameter is optional, and is used to specify The mode parameter is optional (defaults to 'all'), and is used to
the handling of untracked files. The possible options are: specify the handling of untracked files; when -u is not used, the
default is 'normal', i.e. show untracked files and directories.
+
The possible options are:
+ +
--
- 'no' - Show no untracked files - 'no' - Show no untracked files
- 'normal' - Shows untracked files and directories - 'normal' - Shows untracked files and directories
- 'all' - Also shows individual files in untracked directories. - 'all' - Also shows individual files in untracked directories.
--
+ +
See linkgit:git-config[1] for configuration variable The default can be changed using the status.showUntrackedFiles
used to change the default for when the option is not configuration variable documented in linkgit:git-config[1].
specified.
--ignore-submodules[=<when>]:: --ignore-submodules[=<when>]::
Ignore changes to submodules when looking for changes. <when> can be Ignore changes to submodules when looking for changes. <when> can be
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册