aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-04-11 13:39:47 -0700
committerJunio C Hamano <gitster@pobox.com>2010-04-11 13:39:47 -0700
commitc512b035556eff4d8f869afeda5fd78bc7a4966d (patch)
tree46da90bee6578f892bd1a419be8f2835875eef46
parentblame documentation: -M/-C notice copied lines as well as moved ones (diff)
parentbranch: say "Reset to" in reflog entries for 'git branch -f' operations (diff)
downloadgit-c512b035556eff4d8f869afeda5fd78bc7a4966d.tar.gz
git-c512b035556eff4d8f869afeda5fd78bc7a4966d.zip
Merge branch 'rc/maint-reflog-msg-for-forced-branch' into maint
* rc/maint-reflog-msg-for-forced-branch: branch: say "Reset to" in reflog entries for 'git branch -f' operations
-rw-r--r--branch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/branch.c b/branch.c
index 9e1f63ed8d..2ab42aaf4d 100644
--- a/branch.c
+++ b/branch.c
@@ -198,7 +198,7 @@ void create_branch(const char *head,
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 if (!dont_change_ref)
snprintf(msg, sizeof msg, "branch: Created from %s",