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
This commit is contained in:
commit
c512b03555
2
branch.c
2
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",
|
||||
|
Loading…
Reference in New Issue
Block a user