aboutsummaryrefslogtreecommitdiff
path: root/doc/productivity.md
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2020-03-31 14:42:09 +0200
committerVasil Dimov <vd@FreeBSD.org>2020-03-31 14:42:09 +0200
commitd695eb4c2164fc8777dc014e1a30c014cf04982a (patch)
tree805f60579a2dbe77c9e8fa934a8c8081b9e2adca /doc/productivity.md
parentf2880e21eff2428615ee3024570c4861d3238107 (diff)
downloadbitcoin-d695eb4c2164fc8777dc014e1a30c014cf04982a.tar.xz
doc: note the costs of fetching all pull requests
Also, update the example to skip downloading the merge commits when downloading all PRs.
Diffstat (limited to 'doc/productivity.md')
-rw-r--r--doc/productivity.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/productivity.md b/doc/productivity.md
index b25ddc94e5..1bf3d9afb5 100644
--- a/doc/productivity.md
+++ b/doc/productivity.md
@@ -172,11 +172,11 @@ When looking at other's pull requests, it may make sense to add the following se
```
[remote "upstream-pull"]
- fetch = +refs/pull/*:refs/remotes/upstream-pull/*
+ fetch = +refs/pull/*/head:refs/remotes/upstream-pull/*
url = git@github.com:bitcoin/bitcoin.git
```
-This will add an `upstream-pull` remote to your git repository, which can be fetched using `git fetch --all` or `git fetch upstream-pull`. Afterwards, you can use `upstream-pull/NUMBER/head` in arguments to `git show`, `git checkout` and anywhere a commit id would be acceptable to see the changes from pull request NUMBER.
+This will add an `upstream-pull` remote to your git repository, which can be fetched using `git fetch --all` or `git fetch upstream-pull`. It will download and store on disk quite a lot of data (all PRs, including merged and closed ones). Afterwards, you can use `upstream-pull/NUMBER/head` in arguments to `git show`, `git checkout` and anywhere a commit id would be acceptable to see the changes from pull request NUMBER.
### Diff the diffs with `git range-diff`