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

Re: [PATCH 1/2] Document the master@{n} reflog query syntax.

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jan 18, 2007, 15:48 UTC
Message-ID
<20070118154845.GD15428@spearce.org>
In-Reply-To
<45AF4CDF.5010406@op5.se>
Andreas Ericsson <ae@op5.se> wrote:
Show 13 quoted lines
> Shawn O. Pearce wrote:
> >Jim Treadway <jim@stardot-tech.com> wrote:
> >>On Wed, 17 Jan 2007, Shawn O. Pearce wrote:
> >>>-  of the ref at a prior point in time.  This suffix may only be
> >>>+  of the ref at a prior point in time.This suffix may only be
> >>I'm guessing that the above was unintentional?
> >
> >Yes.  Danngit.  Junio, can you hand edit that patch?
> >
> 
> I'm starting to see --amend as an extremely useful thing to have, and 
> I'm sure Junio thinks the same. For fixes this small, it sure is easier 
> to just --amend the commit than to ask for a new patch to apply.

I still shouldn't have let that change sneak into the diff. I know how it happened, I wanted to copy part of that line so I wiggled it around in vi, copied it, then hit undo. I didn't undo back far enough. Then I didn't read the diff closely enough before sending.

> Out of curiousity, how many other SCM's allow you to --amend a commit?
None that I know of.
-- 
Shawn.
Previous: Andreas Ericsson
Message 5 of 5 in “Document the master@{n} reflog query syntax.”
  1. 1/2 Document the master@{n} reflog query syntax.Shawn O. Pearce, Jan 18, 2007
  2. Jim TreadwayJan 18, 2007
  3. Shawn O. PearceJan 18, 2007
  4. Andreas EricssonJan 18, 2007
  5. Shawn O. PearceJan 18, 2007

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.