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

Re: suggestion for git rebase -i

From
Jeff King <peff@peff.net>
Date
Jul 28, 2007, 08:58 UTC
Message-ID
<20070728085849.GB13993@sigill.intra.peff.net>
In-Reply-To
<20070728084550.GA13993@sigill.intra.peff.net>
On Sat, Jul 28, 2007 at 04:45:51AM -0400, Jeff King wrote:
Show 9 quoted lines
> > > a file in a pre-existing editor session.  I realize this is a small
> > > nit, but how about renaming the file to "git-rebase-todo"?
> > 
> > Why?  This is an implementation detail, and should not concern the user.
> 
> Because if you want to setup macros or syntax highlighting specific to
> editing git-rebase tempfiles, then you have to figure out somehow that
> you are editing one. Using a more informative name for the tempfile
> means that you can guess based on the filename.

Re-reading his original message, I actually don't think this is what he wanted it for. But I think it's reasonable to give the tempfile a meaningful name anyway for this reason.

-Peff
Previous: Jeff KingNext: Seth Falcon
Message 4 of 7 in “suggestion for git rebase -i”
  1. Seth FalconJul 28, 2007
  2. Johannes SchindelinJul 28, 2007
  3. Jeff KingJul 28, 2007
  4. Jeff KingJul 28, 2007
  5. Seth FalconJul 28, 2007
  6. Johannes SchindelinJul 28, 2007
  7. Seth FalconJul 28, 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.