From f09ffee7233a645d840fe8ad2300fdc75ae448a5 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Fri, 8 Jan 2021 16:18:52 +0100
Subject: [PATCH] Simplfy initialize.sh script

---
 initialize.sh | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/initialize.sh b/initialize.sh
index 48f0ba1..3525942 100755
--- a/initialize.sh
+++ b/initialize.sh
@@ -1,4 +1,5 @@
 #!/bin/sh
+# Script for devs
 
 #initialize submodules, set-up .git/config and .gitattributes, and pre-push hook
 git submodule init && git submodule update --merge
@@ -24,11 +25,4 @@ echo 'if (! "formatR" %in% rownames(installed.packages()))
 #.gitfat file with remote on gitfat@auder.net
 printf '[rsync]\nremote = gitfat@auder.net:~/files/valse\n' > .gitfat
 
-#manual git-fat init: with relative path to binary
-#1] remove filter if exists http://stackoverflow.com/a/12179641/4640434
-sed -i '1N;$!N;s/\[filter "fat"\]\n.*\n.*//;P;D' .git/config
-#2] place new filter
-printf \
-'[filter "fat"]
-	clean = ./.git-fat/git-fat filter-clean
-	smudge = ./.git-fat/git-fat filter-smudge\n' >> .git/config
+#Now run git-fat init :)
-- 
2.44.0