mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Include postgres in sparse checkout script
This commit is contained in:
parent
64e58baba1
commit
d2de15871c
@ -14,5 +14,6 @@ git config submodule."contrib/icu".update '!../sparse-checkout/update-icu.sh'
|
|||||||
git config submodule."contrib/boost".update '!../sparse-checkout/update-boost.sh'
|
git config submodule."contrib/boost".update '!../sparse-checkout/update-boost.sh'
|
||||||
git config submodule."contrib/aws-s2n-tls".update '!../sparse-checkout/update-aws-s2n-tls.sh'
|
git config submodule."contrib/aws-s2n-tls".update '!../sparse-checkout/update-aws-s2n-tls.sh'
|
||||||
git config submodule."contrib/protobuf".update '!../sparse-checkout/update-protobuf.sh'
|
git config submodule."contrib/protobuf".update '!../sparse-checkout/update-protobuf.sh'
|
||||||
|
git config submodule."contrib/postgres".update '!../sparse-checkout/update-postgres.sh'
|
||||||
git config submodule."contrib/libxml2".update '!../sparse-checkout/update-libxml2.sh'
|
git config submodule."contrib/libxml2".update '!../sparse-checkout/update-libxml2.sh'
|
||||||
git config submodule."contrib/brotli".update '!../sparse-checkout/update-brotli.sh'
|
git config submodule."contrib/brotli".update '!../sparse-checkout/update-brotli.sh'
|
||||||
|
16
contrib/sparse-checkout/update-postgres.sh
Executable file
16
contrib/sparse-checkout/update-postgres.sh
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
echo "Using sparse checkout for postgres"
|
||||||
|
|
||||||
|
FILES_TO_CHECKOUT=$(git rev-parse --git-dir)/info/sparse-checkout
|
||||||
|
echo '!/*' > $FILES_TO_CHECKOUT
|
||||||
|
echo '/src/interfaces/libpq/*' >> $FILES_TO_CHECKOUT
|
||||||
|
echo '!/src/interfaces/libpq/*/*' >> $FILES_TO_CHECKOUT
|
||||||
|
echo '/src/common/*' >> $FILES_TO_CHECKOUT
|
||||||
|
echo '!/src/port/*/*' >> $FILES_TO_CHECKOUT
|
||||||
|
echo '/src/port/*' >> $FILES_TO_CHECKOUT
|
||||||
|
echo '/src/include/*' >> $FILES_TO_CHECKOUT
|
||||||
|
|
||||||
|
git config core.sparsecheckout true
|
||||||
|
git checkout $1
|
||||||
|
git read-tree -mu HEAD
|
Loading…
Reference in New Issue
Block a user