Re: git filter-branch --subdirectory-filter not working as expected, history of other folders is preserved

2016-10-11 Thread Seaders Oloinsigh
On Mon, Oct 10, 2016 at 7:19 PM, Jeff King wrote: > On Mon, Oct 10, 2016 at 05:12:25PM +0100, Seaders Oloinsigh wrote: > >> Due to the structure of this repo, it looks like there are some >> branches that never had anything to do with the android/ subdirectory, >> so they&

Re: git filter-branch --subdirectory-filter not working as expected, history of other folders is preserved

2016-10-10 Thread Seaders Oloinsigh
27;t get rid of all the history you want it to get rid of. On Mon, Oct 10, 2016 at 4:30 PM, Jeff King wrote: > On Mon, Oct 10, 2016 at 02:42:36PM +0100, Seaders Oloinsigh wrote: > >> We have a git repository that looks like >> >> sdk/ >> android/ >> ios/ >>

git filter-branch --subdirectory-filter not working as expected, history of other folders is preserved

2016-10-10 Thread Seaders Oloinsigh
From https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History Now your new project root is what was in the trunk subdirectory each time. > Git will also automatically remove commits that did not affect the > subdirectory. > We have a git repository that looks like sdk/ android/ ios/ unity/ wi