Message ID | 1504705706-4859-2-git-send-email-ppircalabu@bitdefender.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
OOI how does this work? You put a .vimrc under xen.git? On Wed, Sep 06, 2017 at 04:48:24PM +0300, Petre Pircalabu wrote: > Signed-off-by: Petre Pircalabu <ppircalabu@bitdefender.com> > --- > .gitignore | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/.gitignore b/.gitignore > index 594ffd9..8af9c02 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -27,6 +27,7 @@ cscope.in.out > cscope.out > cscope.po.out > .config > +.vimrc > > dist > stubdom/*.tar.gz > -- > 2.7.4 >
On Jo, 2017-09-07 at 15:59 +0100, Wei Liu wrote: > OOI how does this work? > > You put a .vimrc under xen.git? I haven't added the file to the repository, just to .gitignore in order to mask it from git. It will help me very much to have it upstream because right now I have to cherry-pick it each time I create a local branch. I'm using neovim and 'MarcWeber/vim-addon-local-vimrc'. My local .vimrc is quite simple, just sets the alignment, tabs and tabspace according to the xen coding standard. //Petre > > On Wed, Sep 06, 2017 at 04:48:24PM +0300, Petre Pircalabu wrote: > > > > Signed-off-by: Petre Pircalabu <ppircalabu@bitdefender.com> > > --- > > .gitignore | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/.gitignore b/.gitignore > > index 594ffd9..8af9c02 100644 > > --- a/.gitignore > > +++ b/.gitignore > > @@ -27,6 +27,7 @@ cscope.in.out > > cscope.out > > cscope.po.out > > .config > > +.vimrc > > > > dist > > stubdom/*.tar.gz ________________________ This email was scanned by Bitdefender
On Thu, Sep 07, 2017 at 03:36:00PM +0000, Petre Ovidiu PIRCALABU wrote: > On Jo, 2017-09-07 at 15:59 +0100, Wei Liu wrote: > > OOI how does this work? > > > > You put a .vimrc under xen.git? > I haven't added the file to the repository, just to .gitignore in order > to mask it from git. It will help me very much to have it upstream > because right now I have to cherry-pick it each time I create a local > branch. > I'm using neovim and 'MarcWeber/vim-addon-local-vimrc'. My local .vimrc > is quite simple, just sets the alignment, tabs and tabspace according > to the xen coding standard. > Thanks for the pointer. I have no objection to this patch. Adding a new entry in .gitignore which makes developers' life easier is a clear win to me. Acked-by: Wei Liu <wei.liu2@citrix.com> > //Petre > > > > On Wed, Sep 06, 2017 at 04:48:24PM +0300, Petre Pircalabu wrote: > > > > > > Signed-off-by: Petre Pircalabu <ppircalabu@bitdefender.com> > > > --- > > > .gitignore | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/.gitignore b/.gitignore > > > index 594ffd9..8af9c02 100644 > > > --- a/.gitignore > > > +++ b/.gitignore > > > @@ -27,6 +27,7 @@ cscope.in.out > > > cscope.out > > > cscope.po.out > > > .config > > > +.vimrc > > > > > > dist > > > stubdom/*.tar.gz > > ________________________ > This email was scanned by Bitdefender > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > https://lists.xen.org/xen-devel
Petre Ovidiu PIRCALABU writes ("Re: [PATCH v10 1/3] gitignore: add local vimrc files"): > On Jo, 2017-09-07 at 15:59 +0100, Wei Liu wrote: > > OOI how does this work? ... > I haven't added the file to the repository, just to .gitignore in order > to mask it from git. It will help me very much to have it upstream > because right now I have to cherry-pick it each time I create a local > branch. > I'm using neovim and 'MarcWeber/vim-addon-local-vimrc'. My local .vimrc > is quite simple, just sets the alignment, tabs and tabspace according > to the xen coding standard. Why don't you put the .vimrc in your .. ? Ian.
On Jo, 2017-09-07 at 17:12 +0100, Ian Jackson wrote: > Petre Ovidiu PIRCALABU writes ("Re: [PATCH v10 1/3] gitignore: add > local vimrc files"): > > > > On Jo, 2017-09-07 at 15:59 +0100, Wei Liu wrote: > > > > > > OOI how does this work? > ... > > > > I haven't added the file to the repository, just to .gitignore in > > order > > to mask it from git. It will help me very much to have it upstream > > because right now I have to cherry-pick it each time I create a > > local > > branch. > > I'm using neovim and 'MarcWeber/vim-addon-local-vimrc'. My local > > .vimrc > > is quite simple, just sets the alignment, tabs and tabspace > > according > > to the xen coding standard. > Why don't you put the .vimrc in your .. ? > > Ian. > My current directory layout is a "work" directory which contains various projects (with different coding standards). Using "per- directory" settings in my global .vimrc is possible but personally I prefer using a local .vimrc which is easier to manage & migrate. //Petre > ________________________ > This email was scanned by Bitdefender
diff --git a/.gitignore b/.gitignore index 594ffd9..8af9c02 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,7 @@ cscope.in.out cscope.out cscope.po.out .config +.vimrc dist stubdom/*.tar.gz
Signed-off-by: Petre Pircalabu <ppircalabu@bitdefender.com> --- .gitignore | 1 + 1 file changed, 1 insertion(+)