termux / science-packages

Science packages for Termux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Preserve commit history when moving packages

danieldjewell opened this issue · comments

I discovered that texlive was moved to science-packages in commit a5145df but the commit history was not preserved, making it very difficult to use things like 'git blame' (not to "blame" someone of course, but to easily view what parts of a file changed when.)

It appears that the files as they existed on May 1 were copied and committed into science-packages as if they were new files.

There is an alternative that should allow for the preservation of edit/commit history -- see: https://stackoverflow.com/questions/1365541/how-to-move-files-from-one-git-repo-to-another-not-a-clone-preserving-history and https://gbayer.com/development/moving-files-from-one-git-repository-to-another-preserving-history/

Yeah, thanks for the tip. I used something like that when moving games and science packages before, but I kind of forgot about it when moving texlive. Anyways, thanks, will stick to this technique in the future