summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5f856dd)
raw | patch | inline | side by side (parent: 5f856dd)
author | Tay Ray Chuan <rctay89@gmail.com> | |
Fri, 9 Apr 2010 12:38:18 +0000 (20:38 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 10 Apr 2010 03:40:54 +0000 (20:40 -0700) |
In 5f856dd (fix reflog entries for "git-branch"), it is mentioned that
'git branch -f' is intended to be equivalent to 'git reset'. Since we
usually say "reset to <commit>" in the git-reset Documentation and
elsewhere, it would make sense to say "Reset to" here as well, instead
of "Reset from" previously.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
'git branch -f' is intended to be equivalent to 'git reset'. Since we
usually say "reset to <commit>" in the git-reset Documentation and
elsewhere, it would make sense to say "Reset to" here as well, instead
of "Reset from" previously.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-branch.c | patch | blob | history |
diff --git a/builtin-branch.c b/builtin-branch.c
index eaff54ec5f045c479fa08b9d2ba5d16a5e5dee47..f9a821e851b541bafaa9d92a29a72cb54e70cd9c 100644 (file)
--- a/builtin-branch.c
+++ b/builtin-branch.c
log_all_ref_updates = 1;
if (forcing)
- snprintf(msg, sizeof msg, "branch: Reset from %s",
+ snprintf(msg, sizeof msg, "branch: Reset to %s",
start_name);
else
snprintf(msg, sizeof msg, "branch: Created from %s",