diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2023-02-28 17:39:01 -0500 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2023-02-28 17:39:01 -0500 |
| commit | 1fcf4373062d4648bfe0fb66ecff619544f36ae8 (patch) | |
| tree | 8a1c770d42901edf31da9c11359d84ed68ca6faf | |
| parent | 7a22c47c6acba6d3992963a4d6c5bbc6eac24c68 (diff) | |
| download | rust-1fcf4373062d4648bfe0fb66ecff619544f36ae8.tar.gz rust-1fcf4373062d4648bfe0fb66ecff619544f36ae8.zip | |
Add instructions for a working git-subtree
| -rw-r--r-- | Readme.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Readme.md b/Readme.md index b473f79a526..44b3c14fb9a 100644 --- a/Readme.md +++ b/Readme.md @@ -187,6 +187,17 @@ TODO(antoyo): but that's not what I remember I was doing. * Build the stage2 compiler (`rustup toolchain link debug-current build/x86_64-unknown-linux-gnu/stage2`). * Clean and rebuild the codegen with `debug-current` in the file `rust-toolchain`. +### How to install a forked git-subtree + +Using git-subtree with `rustc` requires a patched git to make it work. +The PR that is needed is [here](https://github.com/gitgitgadget/git/pull/493). +Compile it and copy those files to `/usr/local/bin`: + +``` +git-commit-tree git-ls-tree git-merge-tree git-read-tree git-write-tree +git-diff-tree git-merge-subtree git-mktree git-worktree +``` + ### How to use [mem-trace](https://github.com/antoyo/mem-trace) `rustc` needs to be built without `jemalloc` so that `mem-trace` can overload `malloc` since `jemalloc` is linked statically, so a `LD_PRELOAD`-ed library won't a chance to intercept the calls to `malloc`. |
