Re: [virt-manager PATCH] gitignore: Ignore vim swap files

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

 



On Fri, May 24, 2019 at 10:01:37AM -0400, Cole Robinson wrote:
> On 5/24/19 8:22 AM, Erik Skultety wrote:
> > The pattern isn't tailored to catch .swp only, as vim will continue
> > creating .swo, .swn, etc. going backwards in alphabet once an existing
> > swap file already exists.
> >
> > Signed-off-by: Erik Skultety <eskultet@xxxxxxxxxx>
> > ---
> >  .gitignore | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/.gitignore b/.gitignore
> > index dd2404e0..677d4350 100644
> > --- a/.gitignore
> > +++ b/.gitignore
> > @@ -1,6 +1,7 @@
> >  *~
> >  *.pyc
> >  *.gmo
> > +*.sw?
> >
> >  /build
> >  /dist
>
> IMO it's better to have editor specific bits in a personal global
> gitignore file:
>
> https://help.github.com/en/articles/ignoring-files
>
> Mine has stuff like vim output and cscope/ctags output, because they
> aren't project specific

Makes sense.

Thanks,
Erik

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux