Folks, as discussed, the mech_eap repository has been migrated into its
own submodule. History is preserved in the master repository as well as
to the extent possible in the mech_eap repository.
If you need help migrating a branch over to the new format (probably
only applies to Luke and Kevin) please ping me over IM and I'll be happy
to work with you.
If you accidentally try to push something based on the old format to the
new repo it will be rejected.
For the curious here's the final filter script:
#!/bin/bash
git filter-branch \
--index-filter ' \
git read-tree $GIT_COMMIT:moonshot 2>/dev/null ||git read-tree $GIT_COMMIT:mech_eap ||git read-tree --empty; \
if tree=$(git rev-parse $(git ls-files -s libeap | awk "{print \$2}" )^{tree} 2>/dev/null); \
then git rm -r --cached libeap; git read-tree --prefix=libeap/ $tree; \
else git rm --ignore-unmatch --cached libeap 2>/dev/null; fi' \
--parent-filter 'cat&&if grep -q $GIT_COMMIT /tmp/moonshot.git/libeap-commits ; \
then merge_parent=`git rev-parse $GIT_COMMIT:moonshot/libeap` ;\
if git rev-parse $merge_parent^{commit} >/dev/null; then \
echo "-p" $merge_parent; fi ; fi' \
--tag-name-filter cat \
--prune-empty \
-- --all
|