branch: say "Reset to" in reflog entries for 'git branch -f' operations
[gitweb.git] / builtin-branch.c
index eaff54ec5f045c479fa08b9d2ba5d16a5e5dee47..f9a821e851b541bafaa9d92a29a72cb54e70cd9c 100644 (file)
@@ -348,7 +348,7 @@ static void create_branch(const char *name, const char *start_name,
                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",