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