|
|
Subscribe / Log in / New account

Hmm …

Hmm …

Posted Nov 12, 2018 16:26 UTC (Mon) by mathstuf (subscriber, #69389)
In reply to: Hmm … by johill
Parent article: Apache Subversion 1.11.0 released

> (FWIW, I've (ab?)used this property of git to great effect in some projects, e.g. tracking an automatically modified version of one tree in another, where you just have to provide a tree->tree mapping "function", and then git will sort out everything else basically by itself)

This is what we do to track third-party library imports in our projects. We take the upstream tree, select out files we want and then `git merge -Xsubtree=import/path/` into the "right place" in the project tree. There are then commit checks to ensure that all changes do that subdirectory are done via the importing process.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds