re-add modules as hidden folders
authorBenjamin Auder <benjamin.auder@somewhere>
Mon, 30 Jan 2017 00:33:26 +0000 (01:33 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Mon, 30 Jan 2017 00:33:26 +0000 (01:33 +0100)
.git-fat [new submodule]
.gitmodules
.ppam-mpi [new submodule]
initialize.sh

diff --git a/.git-fat b/.git-fat
new file mode 160000 (submodule)
index 0000000..286bcd3
--- /dev/null
+++ b/.git-fat
@@ -0,0 +1 @@
+Subproject commit 286bcd30cea5f86363a04a9313afaf9e2e7a7b81
index e69de29..9e1c85b 100644 (file)
@@ -0,0 +1,6 @@
+[submodule ".ppam-mpi"]
+       path = .ppam-mpi
+       url = git@auder.net:ppam-mpi
+[submodule ".git-fat"]
+       path = .git-fat
+       url = https://github.com/yagu0/git-fat.git
diff --git a/.ppam-mpi b/.ppam-mpi
new file mode 160000 (submodule)
index 0000000..ecd8468
--- /dev/null
+++ b/.ppam-mpi
@@ -0,0 +1 @@
+Subproject commit ecd8468e7849636d2ced2012b5fa0ac4389da3ea
index a596694..2ed401a 100755 (executable)
@@ -5,11 +5,11 @@ git submodule init && git submodule update --merge
 #filter for git-fat
 echo -e '*.pdf filter=fat\n*.tar.xz filter=fat' > .gitattributes
 #pre-push hook: git fat push, submodules update
-echo -e '#!/bin/sh\ngit fat push\ngit submodule update --merge' > .git/hooks/pre-push
+echo -e '#!/bin/sh\n./.git-fat/git-fat push\ngit submodule update --merge' > .git/hooks/pre-push
 #.gitfat file with remote on gitfat@auder.net
 echo -e '[rsync]\nremote = gitfat@auder.net:~/files' > .gitfat
 #manual git-fat init: with relative path to binary
 #1] remove filter if exists http://stackoverflow.com/questions/12179437/replace-3-lines-with-another-line-sed-syntax
 sed -i '1N;$!N;s/\[filter "fat"\]\n.*\n.*//;P;D' .git/config
 #2] place new filter
-echo -e '[filter "fat"]\n\tclean = ./git-fat/git-fat filter-clean\n\tsmudge = ./git-fat/git-fat filter-smudge' >> .git/config
+echo -e '[filter "fat"]\n\tclean = ./.git-fat/git-fat filter-clean\n\tsmudge = ./.git-fat/git-fat filter-smudge' >> .git/config