[Kde-scm-interest] git filter-branch preserving history
Arno Rehn
kde at arnorehn.de
Fri Nov 19 20:01:20 CET 2010
Hi,
we're currently experimenting how to best convert kdebindings to git. One
thing that we tried was 'git filter-branch --subdirectory-filter ruby -- --
all' to remove everything but the 'ruby' subdir and make this the top-level
directory. The resulting directory structure looked good, but strangely the
history of all other unrelated subdirs was left intact, even after git gc --
aggressive and git prune.
So the resultung repository wasn't any smaller than the original monolithic
kdebindings thing, even though there was only a small subdir left.
Is there anything to watch out for when using --subdirectory-filter? Or is it
simply not possible to do this properly with the filter?
--
Arno Rehn
arno at arnorehn.de
More information about the Kde-scm-interest
mailing list