From: Junio C Hamano Date: Sun, 22 Jun 2008 21:32:27 +0000 (-0700) Subject: Merge branch 'mo/status-untracked' X-Git-Tag: v1.6.0-rc0~235 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1947bdbc31e8e1419bdfe90d2357c68919189c30;p=git.git Merge branch 'mo/status-untracked' * mo/status-untracked: Add configuration option for default untracked files mode Add argument 'no' commit/status option -u|--untracked-files Add an optional argument to commit/status -u|--untracked-files option Conflicts: Documentation/git-commit.txt --- 1947bdbc31e8e1419bdfe90d2357c68919189c30 diff --cc Documentation/git-commit.txt index 7e8b4ff72,2e5ea22a4..d0fe192fb --- a/Documentation/git-commit.txt +++ b/Documentation/git-commit.txt @@@ -8,9 -8,9 +8,9 @@@ git-commit - Record changes to the repo SYNOPSIS -------- [verse] - 'git-commit' [-a | --interactive] [-s] [-v] [-u] [--amend] -'git-commit' [-a | --interactive] [-s] [-v] [-u[]] - [(-c | -C) | -F | -m | --amend] - [--allow-empty] [--no-verify] [-e] [--author ] ++'git-commit' [-a | --interactive] [-s] [-v] [-u] [--amend] + [(-c | -C) ] [-F | -m ] + [--allow-empty] [--no-verify] [-e] [--author=] [--cleanup=] [--] [[-i | -o ]...] DESCRIPTION @@@ -162,16 -150,23 +162,25 @@@ but can be used to amend a merge commit the last commit without committing changes that have already been staged. - -u:: - --untracked-files:: - Show all untracked files, also those in uninteresting - directories, in the "Untracked files:" section of commit - message template. Without this option only its name and - a trailing slash are displayed for each untracked - directory. --u[]|--untracked-files[=]:: ++-u[]:: ++--untracked-files[=]:: + Show untracked files (Default: 'all'). + + + The mode parameter is optional, and is used to specify + the handling of untracked files. The possible options are: + + + -- + - 'no' - Show no untracked files + - 'normal' - Shows untracked files and directories + - 'all' - Also shows individual files in untracked directories. + -- + + + See linkgit:git-config[1] for configuration variable + used to change the default for when the option is not + specified. --v|--verbose:: +-v:: +--verbose:: Show unified diff between the HEAD commit and what would be committed at the bottom of the commit message template. Note that this diff output doesn't have its