@youcai

1 Followers
15 Following
4 Posts
I believe git was initially designed to support this scenario as refspec being one of its core features. However today it is still impossible to use that for subtree-to-remote mapping without 3rd party tools.

One thing I love about #jujutsu which #git misses is the ability to treat sub repos as full fledged forks. This is naturally comfortable to work with, especially when you need to make changes along with other modules then push them back upstream.

The closest thing I get is using ingydotnet/git-subrepo and push module changes to a local clone dir (yes you can do that with git). Then you can prepare it for PR to upstream.

me yesterday doing investigation on cpp custom allocators:
okay now we have both foonathan/memory and std::pmr, some of the code must have a aligned heap allocator using std::aligned_alloc or sth
* after 15mins of digging *
NONE OF THEM DOES!!!
#cpp #moderncpp #cplusplus #cpprant