File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -827,7 +827,16 @@ To create a scripted-diff:
827
827
- ` -BEGIN VERIFY SCRIPT- `
828
828
- ` -END VERIFY SCRIPT- `
829
829
830
- The scripted-diff is verified by the tool ` test/lint/commit-script-check.sh `
830
+ The scripted-diff is verified by the tool ` test/lint/commit-script-check.sh ` . The tool's default behavior when supplied
831
+ with a commit is to verify all scripted-diffs from the beginning of time up to said commit. Internally, the tool passes
832
+ the first supplied argument to ` git rev-list --reverse ` to determine which commits to verify script-diffs for, ignoring
833
+ commits that don't conform to the commit message format described above.
834
+
835
+ For development, it might be more convenient to verify all scripted-diffs in a range ` A..B ` , for example:
836
+
837
+ ``` bash
838
+ test/lint/commit-script-check.sh origin/master..HEAD
839
+ ```
831
840
832
841
Commit [ ` bb81e173 ` ] ( https://github.com/bitcoin/bitcoin/commit/bb81e173 ) is an example of a scripted-diff.
833
842
You can’t perform that action at this time.
0 commit comments