diff options
author | Anders Melchiorsen <mail@cup.kalibalik.dk> | 2008-07-29 22:12:22 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-30 00:00:02 -0700 |
commit | bd2574ca69331d33429f8806ce189b2941e490e7 (patch) | |
tree | 9d85e026114bc526c690bde46879bb538781b717 /builtin-commit.c | |
parent | Support copy and rename detection in fast-export. (diff) | |
download | tgif-bd2574ca69331d33429f8806ce189b2941e490e7.tar.xz |
Advertise the ability to abort a commit
This treats aborting a commit more like a feature.
Signed-off-by: Anders Melchiorsen <mail@cup.kalibalik.dk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-commit.c')
-rw-r--r-- | builtin-commit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-commit.c b/builtin-commit.c index 9a11ca0bcd..f7c053a010 100644 --- a/builtin-commit.c +++ b/builtin-commit.c @@ -555,6 +555,7 @@ static int prepare_to_commit(const char *index_file, const char *prefix) fprintf(fp, "\n" "# Please enter the commit message for your changes.\n" + "# To abort the commit, use an empty commit message.\n" "# (Comment lines starting with '#' will "); if (cleanup_mode == CLEANUP_ALL) fprintf(fp, "not be included)\n"); |