aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools/README.md
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2015-04-02 17:15:29 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2015-04-02 17:52:52 -0700
commit5ff94c630e33e0a2b95aa374eb5f5375ba6b19ba (patch)
treeacc77b407af546475535372cbe94e09065f9a617 /contrib/devtools/README.md
parent15facb4aca75122b6ae0dcc6f6e112127e6a0e59 (diff)
downloadbitcoin-5ff94c630e33e0a2b95aa374eb5f5375ba6b19ba.tar.xz
Add git-subtree-check.sh script
Diffstat (limited to 'contrib/devtools/README.md')
-rw-r--r--contrib/devtools/README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/devtools/README.md b/contrib/devtools/README.md
index 40495cce8b..f90afa7f20 100644
--- a/contrib/devtools/README.md
+++ b/contrib/devtools/README.md
@@ -81,3 +81,16 @@ It will do the following automatically:
See doc/translation-process.md for more information.
+git-subtree-check.sh
+====================
+
+Run this script from the root of the repository to verify that a subtree matches the contents of
+the commit it claims to have been updated to.
+
+To use, make sure that you have fetched the upstream repository branch in which the subtree is
+maintained:
+* for src/secp256k1: https://github.com/bitcoin/secp256k1.git (branch master)
+* for sec/leveldb: https://github.com/bitcoin/leveldb.git (branch bitcoin-fork)
+
+Usage: git-subtree-check.sh DIR COMMIT
+COMMIT may be omitted, in which case HEAD is used.