Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a0776ca

Browse files
committed
update docs with new info on commit
1 parent 8bb69a3 commit a0776ca

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

docs/commit.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,22 @@ A Commit object has all the information of a Git commit, and much more. More spe
99
* **hash** *(str)*: hash of the commit
1010
* **msg** *(str)*: commit message
1111
* **author** *(Developer)*: commit author (name, email)
12+
* **committer** *(Developer)*: commit committer (name, email)
1213
* **author_date** *(datetime)*: authored date
1314
* **author_timezone** *(int)*: author timezone (expressed in seconds from epoch)
14-
* **committer** *(Developer)*: commit committer (name, email)
1515
* **committer_date** *(datetime)*: commit date
1616
* **committer_timezone** *(int)*: commit timezone (expressed in seconds from epoch)
1717
* **branches** *(List[str])*: List of branches that contain this commit
1818
* **in_main_branch** *(Bool)*: True if the commit is in the main branch
1919
* **merge** *(Bool)*: True if the commit is a merge commit
2020
* **modifications** *(List[Modifications])*: list of modified files in the commit (see :ref:`modifications_toplevel`)
21-
* **parents** *(Set[str])*: list of the commit parents
21+
* **parents** *(List[str])*: list of the commit parents
2222
* **project_name** *(str)*: project name
2323
* **project_path** *(str)*: project path
24+
* **deletions** *(int)*: number of deleted lines in the commit (as shown from –shortstat).
25+
* **insertions** *(int)*: number of added lines in the commit (as shown from –shortstat).
26+
* **lines** *(int)*: total number of added + deleted lines in the commit (as shown from –shortstat).
27+
* **files** *(int)*: number of files changed in the commit (as shown from –shortstat).
2428
* **dmm_unit_size** *(float)*: DMM metric value for the unit size property.
2529
* **dmm_unit_complexity** *(float)*: DMM metric value for the unit complexity property.
2630
* **dmm_unit_interfacing** *(float)*: DMM metric value for the unit interfacing property.

0 commit comments

Comments
 (0)