зеркало из https://github.com/microsoft/git.git
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:
Коммит
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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче