git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] branch: say "Reset to" in reflog entries for 'git branch -f' operations

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Apr 9, 2010, 12:18 UTC
Message-ID
<w2nbe6fef0d1004090518hee66e33esd93e767580837b55@mail.gmail.com>
In-Reply-To
<4BBF159A.1000206@drmicha.warpmail.net>
Hi,

On Fri, Apr 9, 2010 at 7:55 PM, Michael J Gruber <git@drmicha.warpmail.net> wrote:

Show 6 quoted lines
> I know the patch is not large, but one really has to read it after
> wondering: Huh? What is branch -f doing now before the patch? To me it
> sounded as if it didn't write to the reflog at all. So, how about
>
> elsewhere, it would make sense to say "Reset to" here as well rather
> than "Rest from".
Sounds good.
> But I also have a functional question: Is "start_from" really the ref
> *to* which the branch is reset? I hope reset does it right.
(I think you mean "start_name" instead of "start_from".)

Well, "start_name" determines where the branch/ref points to. I don't think any branch can "start", except that it can diverge.

But that's outside the scope of this patch.
-- 
Cheers,
Ray Chuan
Previous: Johannes SixtNext: Tay Ray Chuan
Message 5 of 6 in “branch: say "Reset to" in reflog entries for 'git branch -f' operations”
  1. branch: say "Reset to" in reflog entries for 'git branch -f' operationsTay Ray Chuan, Apr 9, 2010
  2. Michael J GruberApr 9, 2010
  3. Matthieu MoyApr 9, 2010
  4. Johannes SixtApr 9, 2010
  5. Tay Ray ChuanApr 9, 2010
  6. branch: say "Reset to" in reflog entries for 'git branch -f' operationsTay Ray Chuan, Apr 9, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.