From b90dd674185ac4c5d50d2ac5c79cf2b40ee71f6a Mon Sep 17 00:00:00 2001 From: Renan DelValle Date: Wed, 13 Feb 2019 13:00:17 -0800 Subject: [PATCH] Ignore all superflous files that come along with a git clone from the thrift repository. --- .gitignore | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index 66a91e3..ecf2cf1 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,17 @@ _obj _test .idea +# Thrift library comes with a lot of other files we don't need. +# Ignore everything but the files we do need +vendor/github.com/apache/thrift/* +!vendor/github.com/apache/thrift/lib/ + +vendor/github.com/apache/thrift/lib/* +!vendor/github.com/apache/thrift/lib/go/ + +vendor/github.com/apache/thrift/lib/go/* +!vendor/github.com/apache/thrift/lib/go/thrift/ + # Architecture specific extensions/prefixes *.[568vq] [568vq].out