| commit | 1a2aa740c8aa43db7f609dd6b26b2f6dbc075062 | [log] [tgz] |
|---|---|---|
| author | Ronald Bhuleskar <funronald@google.com> | Fri Aug 05 12:59:39 2022 -0700 |
| committer | Terry Parker <tparker@google.com> | Wed Aug 17 19:16:45 2022 -0400 |
| tree | f990f32ef183a633cac7c6123cdff22d9496e97e | |
| parent | 5747bba48b22a11beba8ebe0caf13a53d4ca96f2 [diff] |
Add javadoc on RevCommit Change-Id: Ib413154fe52983286cb6307862a7373af4fec6e8
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevCommit.java b/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevCommit.java index 7f1e887..a7c21e3 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevCommit.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevCommit.java
@@ -36,6 +36,11 @@ /** * A commit reference to a commit in the DAG. + * + * The state of the RevCommit isn't populated until the commit is parsed. The + * newly created RevCommit is unparsed and only has an objectId reference. Other + * states like parents, trees, commit ident, commit message, etc. are + * populated/available when the commit is parsed. */ public class RevCommit extends RevObject { private static final int STACK_DEPTH = 500;