Message ID | 20201012233740.190-1-luoyonggang@gmail.com |
---|---|
Headers | show |
Series | Improve cirrus msys2 | expand |
On 10/13/20 1:37 AM, Yonggang Luo wrote: > Enable the creating multiple build directory at the source root. > Ignore /meson/ and /roms/ for better search experience. > > Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> > --- > .gitignore | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/.gitignore b/.gitignore > index b32bca1315..f78ee9f297 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -1,5 +1,5 @@ > /GNUmakefile > -/build/ > +/build*/ > *.pyc > .sdk > .stgit-* > @@ -10,3 +10,5 @@ TAGS > *~ > *.ast_raw > *.depend_raw > +/meson/ > +/roms/**/* Why?
On Tue, Oct 13, 2020 at 4:38 PM Philippe Mathieu-Daudé <philmd@redhat.com> wrote: > > On 10/13/20 1:37 AM, Yonggang Luo wrote: > > Enable the creating multiple build directory at the source root. > > Ignore /meson/ and /roms/ for better search experience. > > > > Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> > > --- > > .gitignore | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/.gitignore b/.gitignore > > index b32bca1315..f78ee9f297 100644 > > --- a/.gitignore > > +++ b/.gitignore > > @@ -1,5 +1,5 @@ > > /GNUmakefile > > -/build/ > > +/build*/ > > *.pyc > > .sdk > > .stgit-* > > @@ -10,3 +10,5 @@ TAGS > > *~ > > *.ast_raw > > *.depend_raw > > +/meson/ > > +/roms/**/* > > Why? As I said, help for searching tool ignore it, meson and roms are thirdparty packages. > -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo <div dir="ltr"><br><br>On Tue, Oct 13, 2020 at 4:38 PM Philippe Mathieu-Daudé <<a href="mailto:philmd@redhat.com">philmd@redhat.com</a>> wrote:<br>><br>> On 10/13/20 1:37 AM, Yonggang Luo wrote:<br>> > Enable the creating multiple build directory at the source root.<br>> > Ignore /meson/ and /roms/ for better search experience.<br>> ><br>> > Signed-off-by: Yonggang Luo <<a href="mailto:luoyonggang@gmail.com">luoyonggang@gmail.com</a>><br>> > ---<br>> > .gitignore | 4 +++-<br>> > 1 file changed, 3 insertions(+), 1 deletion(-)<br>> ><br>> > diff --git a/.gitignore b/.gitignore<br>> > index b32bca1315..f78ee9f297 100644<br>> > --- a/.gitignore<br>> > +++ b/.gitignore<br>> > @@ -1,5 +1,5 @@<br>> > /GNUmakefile<br>> > -/build/<br>> > +/build*/<br>> > *.pyc<br>> > .sdk<br>> > .stgit-*<br>> > @@ -10,3 +10,5 @@ TAGS<br>> > *~<br>> > *.ast_raw<br>> > *.depend_raw<br>> > +/meson/<br>> > +/roms/**/*<br>><br>> Why?<br>As I said, help for searching tool ignore it, meson and roms are thirdparty packages.<br>><br><br><br>--<br> 此致<br>礼<br>罗勇刚<br>Yours<br> sincerely,<br>Yonggang Luo<br></div>
On 13/10/2020 10.53, 罗勇刚(Yonggang Luo) wrote: > > > On Tue, Oct 13, 2020 at 4:38 PM Philippe Mathieu-Daudé <philmd@redhat.com > <mailto:philmd@redhat.com>> wrote: >> >> On 10/13/20 1:37 AM, Yonggang Luo wrote: >> > Enable the creating multiple build directory at the source root. >> > Ignore /meson/ and /roms/ for better search experience. >> > >> > Signed-off-by: Yonggang Luo <luoyonggang@gmail.com > <mailto:luoyonggang@gmail.com>> >> > --- >> > .gitignore | 4 +++- >> > 1 file changed, 3 insertions(+), 1 deletion(-) >> > >> > diff --git a/.gitignore b/.gitignore >> > index b32bca1315..f78ee9f297 100644 >> > --- a/.gitignore >> > +++ b/.gitignore >> > @@ -1,5 +1,5 @@ >> > /GNUmakefile >> > -/build/ >> > +/build*/ The naming of your private build directories is IMHO something that should not be part of the public .gitignore file. I think you can use your ~/.gitignore file for that. >> > *.pyc >> > .sdk >> > .stgit-* >> > @@ -10,3 +10,5 @@ TAGS >> > *~ >> > *.ast_raw >> > *.depend_raw >> > +/meson/ >> > +/roms/**/* >> >> Why? > As I said, help for searching tool ignore it, meson and roms are thirdparty > packages. Hmm, but "git status" should still show whether there are modifications in the subdirectories, so IMHO this should not be ignored? Thomas
On Tue, Oct 13, 2020 at 5:02 PM Thomas Huth <thuth@redhat.com> wrote: > > On 13/10/2020 10.53, 罗勇刚(Yonggang Luo) wrote: > > > > > > On Tue, Oct 13, 2020 at 4:38 PM Philippe Mathieu-Daudé < philmd@redhat.com > > <mailto:philmd@redhat.com>> wrote: > >> > >> On 10/13/20 1:37 AM, Yonggang Luo wrote: > >> > Enable the creating multiple build directory at the source root. > >> > Ignore /meson/ and /roms/ for better search experience. > >> > > >> > Signed-off-by: Yonggang Luo <luoyonggang@gmail.com > > <mailto:luoyonggang@gmail.com>> > >> > --- > >> > .gitignore | 4 +++- > >> > 1 file changed, 3 insertions(+), 1 deletion(-) > >> > > >> > diff --git a/.gitignore b/.gitignore > >> > index b32bca1315..f78ee9f297 100644 > >> > --- a/.gitignore > >> > +++ b/.gitignore > >> > @@ -1,5 +1,5 @@ > >> > /GNUmakefile > >> > -/build/ > >> > +/build*/ > > The naming of your private build directories is IMHO something that should > not be part of the public .gitignore file. I think you can use your > ~/.gitignore file for that. > > >> > *.pyc > >> > .sdk > >> > .stgit-* > >> > @@ -10,3 +10,5 @@ TAGS > >> > *~ > >> > *.ast_raw > >> > *.depend_raw > >> > +/meson/ > >> > +/roms/**/* > >> > >> Why? > > As I said, help for searching tool ignore it, meson and roms are thirdparty > > packages. > > Hmm, but "git status" should still show whether there are modifications in > the subdirectories, so IMHO this should not be ignored? Yeap, it's doens't affect git, just affect search tools. If this is improper, skip it, I can use it locally > > Thomas > -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo <div dir="ltr"><br><br>On Tue, Oct 13, 2020 at 5:02 PM Thomas Huth <<a href="mailto:thuth@redhat.com">thuth@redhat.com</a>> wrote:<br>><br>> On 13/10/2020 10.53, 罗勇刚(Yonggang Luo) wrote:<br>> ><br>> ><br>> > On Tue, Oct 13, 2020 at 4:38 PM Philippe Mathieu-Daudé <<a href="mailto:philmd@redhat.com">philmd@redhat.com</a><br>> > <mailto:<a href="mailto:philmd@redhat.com">philmd@redhat.com</a>>> wrote:<br>> >><br>> >> On 10/13/20 1:37 AM, Yonggang Luo wrote:<br>> >> > Enable the creating multiple build directory at the source root.<br>> >> > Ignore /meson/ and /roms/ for better search experience.<br>> >> ><br>> >> > Signed-off-by: Yonggang Luo <<a href="mailto:luoyonggang@gmail.com">luoyonggang@gmail.com</a><br>> > <mailto:<a href="mailto:luoyonggang@gmail.com">luoyonggang@gmail.com</a>>><br>> >> > ---<br>> >> > .gitignore | 4 +++-<br>> >> > 1 file changed, 3 insertions(+), 1 deletion(-)<br>> >> ><br>> >> > diff --git a/.gitignore b/.gitignore<br>> >> > index b32bca1315..f78ee9f297 100644<br>> >> > --- a/.gitignore<br>> >> > +++ b/.gitignore<br>> >> > @@ -1,5 +1,5 @@<br>> >> > /GNUmakefile<br>> >> > -/build/<br>> >> > +/build*/<br>><br>> The naming of your private build directories is IMHO something that should<br>> not be part of the public .gitignore file. I think you can use your<br>> ~/.gitignore file for that.<br>><br>> >> > *.pyc<br>> >> > .sdk<br>> >> > .stgit-*<br>> >> > @@ -10,3 +10,5 @@ TAGS<br>> >> > *~<br>> >> > *.ast_raw<br>> >> > *.depend_raw<br>> >> > +/meson/<br>> >> > +/roms/**/*<br>> >><br>> >> Why?<br>> > As I said, help for searching tool ignore it, meson and roms are thirdparty<br>> > packages.<br>><br>> Hmm, but "git status" should still show whether there are modifications in<br>> the subdirectories, so IMHO this should not be ignored?<div>Yeap, it's doens't affect git, just affect search tools. If this is improper, skip it, I can use it locally<br>><br>> Thomas<br>><br><br><br>--<br> 此致<br>礼<br>罗勇刚<br>Yours<br> sincerely,<br>Yonggang Luo</div></div>