about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAntoni Boucher <bouanto@zoho.com>2023-02-28 18:25:09 -0500
committerAntoni Boucher <bouanto@zoho.com>2023-02-28 18:25:09 -0500
commit32a2e378f4cc509718cba147b0d6588528cdd6e5 (patch)
tree1d5719f64493165348cb84d6e44e23fae61ea288
parent1fcf4373062d4648bfe0fb66ecff619544f36ae8 (diff)
downloadrust-32a2e378f4cc509718cba147b0d6588528cdd6e5.tar.gz
rust-32a2e378f4cc509718cba147b0d6588528cdd6e5.zip
Fix instructions for installing git-subtree
-rw-r--r--Readme.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/Readme.md b/Readme.md
index 44b3c14fb9a..bb741943892 100644
--- a/Readme.md
+++ b/Readme.md
@@ -191,11 +191,17 @@ TODO(antoyo): but that's not what I remember I was doing.
 
 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`:
+Use the following instructions to install it:
 
 ```
-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
+git clone git@github.com:tqc/git.git
+cd git
+git checkout tqc/subtree
+make
+make install
+cd contrib/subtree
+make
+cp git-subtree ~/bin
 ```
 
 ### How to use [mem-trace](https://github.com/antoyo/mem-trace)