there, for each new submodule, create a new branch. as an example, here for the nxcomp branch:

git checkout-b nxcomp a840692edc9c6d19cd7c057f68e39c7d95eb767d

NB: the commit a840692edc9c6d19cd7c057f68e39c7d95eb767d is the very first commit in the repository. It contains an empty tree as content and is common for all branches in nx-libs. This faciliates the merging step later.

We now import the sources using the git_load_dirs tool. It is run in the temporary directory t/:

Unresolved Issues

How to import pristine-tar data. Note that the git-import-orig dir strips the first directory member. This is usually sensible for sensible projects, but not for NX, which expects the sources to be unpacked in a very precise manner. Therefore, we need to pretty clumsily work with temporary subdirectories to capture this right. I have not investigated yet how to integrate this with pristine-tar

Mike writes: after struggling with pristine-tar for more than a day now… I have reported a patch against pristine-tar to Debian BTS: With that patch applied to pristine-tar, it is possible to commit NX sources as pristine-tar objects (.delta, .id) to our Git.