Peter Dimov wrote:
In the past I moved headers along with their history by exporting the commits to a text file and then applying that in the target repo,
After the move, the original file is split into the two files:
one contains the actual code and the other is for the backward compatibility.
Did you transfer the history into only one of the two files?
Or can git allowed to transfer the history to both of the two split files?
This is an example of moving next_prior.hpp:
===============
Before the move
===============
[Boost.Iterator]
Does not contain anything related to next_prior.hpp.
[Boost.Utility]
Contains the following:
- include/boost/utility/next_prior.hpp
==============
After the move
==============
[Boost.Iterator module]
Contains the following:
- include/boost/iterator/next_prior.hpp
* Contains the actual code for `next` and `prior`.
- include/boost/utility/next_prior.hpp
* Just includes