On Wed, Mar 30, 2016 at 6:13 AM, shawn wilson [off-list ref] 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)?