From a1e4c41053dba7dbb1d5330f69d53723fa78abb7 Mon Sep 17 00:00:00 2001 From: Lucas Bader Date: Wed, 11 Mar 2020 07:49:50 +0100 Subject: [PATCH] Add new prolog fact to documentation Documentation for the prolog fact added with [1]. [1] https://gerrit-review.googlesource.com/c/gerrit/+/258270 Change-Id: Ie0d357eb0d0a11c979ca7dd3fdbad99b6e70b605 (cherry picked from commit 8e6c5a5ab75584c1f566d34d48344a8b9a74ea4b) --- Documentation/prolog-change-facts.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/prolog-change-facts.txt b/Documentation/prolog-change-facts.txt index 2fb13e918a..ac69616c43 100644 --- a/Documentation/prolog-change-facts.txt +++ b/Documentation/prolog-change-facts.txt @@ -48,6 +48,9 @@ of them we must use a qualified name like `gerrit:change_branch(X)`. |`commit_message/1` |`commit_message('Fix bug X').` |Commit message as string atom +|`commit_parent_count/1` |`commit_parent_count(1).` + |Number of parent commits of a commit. Can be used to detect merge commits + |`commit_stats/3` |`commit_stats(5,20,50).` |Number of files modified, number of insertions and the number of deletions.