From f21a2167f199ffae053e1e481fb334c1063a870f Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Mon, 7 Aug 2017 09:08:09 +0100 Subject: [PATCH] Update config --- bin/aquarius-redirects | 6 ++++-- gitconfig | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/bin/aquarius-redirects b/bin/aquarius-redirects index 35553d85..573565b3 100755 --- a/bin/aquarius-redirects +++ b/bin/aquarius-redirects @@ -189,8 +189,10 @@ function doTo_(to){ if(to[0]!="/" && to.indexOf("//")==-1){ to = "/"+to; } - to = to - .replace(/\*/g,"$1"); + to = to.replace(/\*/g,"$1"); + if(to.indexOf(" ") != -1){ + to = '"' + to + '"'; + } return to; } diff --git a/gitconfig b/gitconfig index be56d0bf..5f458d1c 100644 --- a/gitconfig +++ b/gitconfig @@ -15,3 +15,8 @@ detach = "!git checkout $(git rev-parse HEAD)" undo = reset --soft HEAD^ +[filter "lfs"] + process = git-lfs filter-process + required = true + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f