Skip to content

Commit

Permalink
Add new prolog fact to documentation
Browse files Browse the repository at this point in the history
Documentation for the prolog fact added with [1].

[1] https://gerrit-review.googlesource.com/c/gerrit/+/258270

Change-Id: Ie0d357eb0d0a11c979ca7dd3fdbad99b6e70b605
(cherry picked from commit 8e6c5a5)
  • Loading branch information
lcs-bdr committed Mar 11, 2020
1 parent 43209be commit a1e4c41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Documentation/prolog-change-facts.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit a1e4c41

Please sign in to comment.