Re: suggestion for git rebase -i

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 28, 2007 at 04:45:51AM -0400, Jeff King wrote:

> > > 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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux