aboutsummaryrefslogtreecommitdiff
path: root/builtin-merge.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-11-15 16:41:02 -0800
committerJunio C Hamano <gitster@pobox.com>2009-11-15 16:41:02 -0800
commit4d8c3258880548510b1d23f0db517adb7dfd2486 (patch)
treeeeb42aefe5555624063221d7ddc28a29f598ce7f /builtin-merge.c
parent9fa51ff940d41c7bbacf91b81d860d4c18b9ee1e (diff)
parenta75d7b54097ef0d0945cbe673a9940d6c561f95c (diff)
downloadgit-4d8c3258880548510b1d23f0db517adb7dfd2486.tar.gz
git-4d8c3258880548510b1d23f0db517adb7dfd2486.tar.xz
Merge branch 'fc/doc-fast-forward'
* fc/doc-fast-forward: Use 'fast-forward' all over the place Conflicts: builtin-merge.c
Diffstat (limited to 'builtin-merge.c')
-rw-r--r--builtin-merge.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/builtin-merge.c b/builtin-merge.c
index c8d7bdecc..57eedd447 100644
--- a/builtin-merge.c
+++ b/builtin-merge.c
@@ -167,9 +167,9 @@ static struct option builtin_merge_options[] = {
OPT_BOOLEAN(0, "commit", &option_commit,
"perform a commit if the merge succeeds (default)"),
OPT_BOOLEAN(0, "ff", &allow_fast_forward,
- "allow fast forward (default)"),
+ "allow fast-forward (default)"),
OPT_BOOLEAN(0, "ff-only", &fast_forward_only,
- "abort if fast forward is not possible"),
+ "abort if fast-forward is not possible"),
OPT_CALLBACK('s', "strategy", &use_strategies, "strategy",
"merge strategy to use", option_parse_strategy),
OPT_CALLBACK('m', "message", &merge_msg, "message",
@@ -1021,7 +1021,7 @@ int cmd_merge(int argc, const char **argv, const char *prefix)
hex,
find_unique_abbrev(remoteheads->item->object.sha1,
DEFAULT_ABBREV));
- strbuf_addstr(&msg, "Fast forward");
+ strbuf_addstr(&msg, "Fast-forward");
if (have_message)
strbuf_addstr(&msg,
" (no commit created; -m option ignored)");
@@ -1039,12 +1039,12 @@ int cmd_merge(int argc, const char **argv, const char *prefix)
} else if (!remoteheads->next && common->next)
;
/*
- * We are not doing octopus and not fast forward. Need
+ * We are not doing octopus and not fast-forward. Need
* a real merge.
*/
else if (!remoteheads->next && !common->next && option_commit) {
/*
- * We are not doing octopus, not fast forward, and have
+ * We are not doing octopus, not fast-forward, and have
* only one common.
*/
refresh_cache(REFRESH_QUIET);
@@ -1088,7 +1088,7 @@ int cmd_merge(int argc, const char **argv, const char *prefix)
}
if (fast_forward_only)
- die("Not possible to fast forward, aborting.");
+ die("Not possible to fast-forward, aborting.");
/* We are going to make a new commit. */
git_committer_info(IDENT_ERROR_ON_NO_NAME);