From: shawn wilson Date: Fri, 01 Apr 2016 12:21:49 GMT Subject: Re: git alias quoting help Message-ID: In-Reply-To: On Fri, Apr 1, 2016 at 7:05 AM, Christian Couder wrote: > On Wed, Mar 30, 2016 at 6:13 AM, shawn wilson wrote: >> I've also tried to make this a plain bash script (w/o the function or >> if statements and am failing at the same place). The issue seems to be >> with the quoting in the filter-branch | ls-files bit. Also, the end >> goal here is to be able to move a directory from one repo and keep the >> history. > > Did you try git subtree > (https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt)? Yeah, it looked like it left the repo in the same state as subdirectory-filter and the merge failed. But I'll try it again when I get to work.