Re: [PATCH] git-svn: prevent dcommitting if the index is dirty.

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

 



Benoit Sigoure <tsuna@xxxxxxxxxxxxx> wrote:
> On Nov 12, 2007, at 3:28 AM, Eric Wong wrote:
> >We use tabs for indentation, and spaces for alignment.
> 
> Yes, sorry again, would you consider to add `# vi: set noexpandtab:'  
> at the end of the file so that ViM users (like me) don't have to  
> think about it?  (it tells ViM to NOT expand tabs to series of spaces)

No, there are still too many cases where the modelines won't apply:
non-VIM users, VIM-users with modelines disabled.

Instead, you can try this in your .vimrc:

augroup filetype
	au BufRead git-svn.perl		set noexpandtab
augroup END

-- 
Eric Wong
-
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