author | Junio C Hamano <gitster@pobox.com> | |
Mon, 18 Jan 2010 00:00:07 +0000 (16:00 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 18 Jan 2010 00:00:07 +0000 (16:00 -0800) |
* jh/commit-status:
t7502: test commit.status, --status and --no-status
commit: support commit.status, --status, and --no-status
Conflicts:
Documentation/git-commit.txt
builtin-commit.c
t7502: test commit.status, --status and --no-status
commit: support commit.status, --status, and --no-status
Conflicts:
Documentation/git-commit.txt
builtin-commit.c
1 | 2 | |||
---|---|---|---|---|
Documentation/config.txt | patch | | diff1 | | diff2 | | blob | history |
Documentation/git-commit.txt | patch | | diff1 | | diff2 | | blob | history |
builtin-commit.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc Documentation/config.txt
Simple merge
diff --cc Documentation/git-commit.txt
index 5fb43f9320a71a50cdc36d3d5ce59ac1641dfd91,0e535184b1ad61eaa9bb75e16c2734bd650825de..d3a2dec21eb0323b535dfc696bceac3d6b66b2c7
'git commit' [-a | --interactive] [-s] [-v] [-u<mode>] [--amend] [--dry-run]
[(-c | -C) <commit>] [-F <file> | -m <msg>] [--reset-author]
[--allow-empty] [--no-verify] [-e] [--author=<author>]
- [--date=<date>] [--cleanup=<mode>] [--] [[-i | -o ]<file>...]
- [--cleanup=<mode>] [--status | --no-status] [--]
++ [--date=<date>] [--cleanup=<mode>] [--status | --no-status] [--]
+ [[-i | -o ]<file>...]
DESCRIPTION
-----------
diff --cc builtin-commit.c
index 592b10396d1d6aa25d5d1c0aa27556c93c219877,095c1869e83dcb40d10ff0ac7931fe078a4a6763..e64487121059b1b4a618828095375c1a42e4e93e
--- 1/builtin-commit.c
--- 2/builtin-commit.c
+++ b/builtin-commit.c
OPT_BOOLEAN('s', "signoff", &signoff, "add Signed-off-by:"),
OPT_FILENAME('t', "template", &template_file, "use specified template file"),
OPT_BOOLEAN('e', "edit", &edit_flag, "force edit of commit"),
+ OPT_STRING(0, "cleanup", &cleanup_arg, "default", "how to strip spaces and #comments from message"),
+ OPT_BOOLEAN(0, "status", &include_status, "include status in commit message template"),
+ /* end commit message options */
OPT_GROUP("Commit contents options"),
OPT_BOOLEAN('a', "all", &all, "commit all changed files"),