graphp / algorithms

Common mathematical graph algorithms implemented in PHP
MIT License
136 stars 68 forks source link

Split off from clue/graph #1

Closed clue closed 9 years ago

clue commented 9 years ago

See also clue/graph#119

clue commented 9 years ago

Use https://gist.github.com/emiller/6769886 to rewrite the relevant paths to a target directory, then run a subdirectory-filter to only keep the target directory:

git clone git@github.com:clue/graph.git algorithms
cd algorithms
wget https://gist.githubusercontent.com/emiller/6769886/raw/8899e5540f65dd95b79250e637d71ca0cde6f269/git-mv-with-history
mkdir lib/algorithms # needed temporarily to rewrite outdated paths
bash git-mv-with-history lib/Fhaculty/Graph/Algorithm=target/src tests/Fhaculty/Graph/Algorithm=target/tests lib/Algorithm=target/src
git filter-branch -f --subdirectory-filter target/ -- --all