Message ID | 1413273236-1873-1-git-send-email-mhall@mhcomputing.net (mailing list archive) |
---|---|
State | Rejected, archived |
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id EC0817E47; Tue, 14 Oct 2014 09:46:32 +0200 (CEST) Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.46.186]) by dpdk.org (Postfix) with ESMTP id 0E514212 for <dev@dpdk.org>; Tue, 14 Oct 2014 09:46:30 +0200 (CEST) Received: from localhost.localdomain (99-34-229-174.lightspeed.sntcca.sbcglobal.net [99.34.229.174]) by mail.mhcomputing.net (Postfix) with ESMTPSA id 007EA80C3D9; Tue, 14 Oct 2014 00:53:23 -0700 (PDT) From: Matthew Hall <mhall@mhcomputing.net> To: dev@dpdk.org Date: Tue, 14 Oct 2014 07:53:56 +0000 Message-Id: <1413273236-1873-1-git-send-email-mhall@mhcomputing.net> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH] virtio-net-pmd: .gitignore: ignore librte_pmd_virtio.so X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Commit Message
Matthew Hall
Oct. 14, 2014, 7:53 a.m. UTC
Signed-off-by: Matthew Hall <mhall@mhcomputing.net>
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
Comments
On Tue, Oct 14, 2014 at 07:53:56AM +0000, Matthew Hall wrote: > Signed-off-by: Matthew Hall <mhall@mhcomputing.net> > --- > .gitignore | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/.gitignore b/.gitignore > index e69de29..08d831a 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -0,0 +1 @@ > +librte_pmd_virtio.so > -- > 1.9.1 > I thought our .gitignore could do with a few entries added alright, I just never expected this one to be top of the list! While I don't think it does any harm, I'm just curious why you think it needs to be added? /Bruce
On Tue, 14 Oct 2014 10:44:16 +0100 Bruce Richardson <bruce.richardson@intel.com> wrote: > On Tue, Oct 14, 2014 at 07:53:56AM +0000, Matthew Hall wrote: > > Signed-off-by: Matthew Hall <mhall@mhcomputing.net> > > --- > > .gitignore | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/.gitignore b/.gitignore > > index e69de29..08d831a 100644 > > --- a/.gitignore > > +++ b/.gitignore > > @@ -0,0 +1 @@ > > +librte_pmd_virtio.so > > -- > > 1.9.1 > > > > I thought our .gitignore could do with a few entries added alright, I just > never expected this one to be top of the list! While I don't think it does > any harm, I'm just curious why you think it needs to be added? > > /Bruce Why not add *.so to ignore all built shared libraries
I import all my DPDK dependencies as git submodules. When the submodules contain unignored files, they get marked as dirty by git, and it makes like difficult when it comes to updating my submodule pointers. Matthew.
Sure, I can put the classic C gitignore entries in there if you guys prefer. I was just trying to make the minimum change to get it to work right for my environment.
> >I thought our .gitignore could do with a few entries added alright, I > >just never expected this one to be top of the list! While I don't think > >it does any harm, I'm just curious why you think it needs to be added? > > > >/Bruce > > I import all my DPDK dependencies as git submodules. When the submodules > contain unignored files, they get marked as dirty by git, and it makes > like difficult when it comes to updating my submodule pointers. > > Matthew. So you cannot update submodules without filling .gitignore? I'm not a big fan of .gitignore because I like seeing what has been generated by looking at "git status". And it's not really needed in DPDK because compilation is often done in a separate directory.
In the virtio-net-pmd it is done in the same directory. Hence me submitting this to try to make it easier for others to use the product. Also the default DPDK doesn't ignore the build target directories... but I already had to fork that one to fix clang compile failures in the examples files. Matthew.
diff --git a/.gitignore b/.gitignore index e69de29..08d831a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +librte_pmd_virtio.so