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