diff options
Diffstat (limited to 'platform/vcs-log/graph-api/src/com/intellij/vcs/log/graph/GraphCommit.java')
-rw-r--r-- | platform/vcs-log/graph-api/src/com/intellij/vcs/log/graph/GraphCommit.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/vcs-log/graph-api/src/com/intellij/vcs/log/graph/GraphCommit.java b/platform/vcs-log/graph-api/src/com/intellij/vcs/log/graph/GraphCommit.java index 6a414853da45..02b337804f5c 100644 --- a/platform/vcs-log/graph-api/src/com/intellij/vcs/log/graph/GraphCommit.java +++ b/platform/vcs-log/graph-api/src/com/intellij/vcs/log/graph/GraphCommit.java @@ -29,6 +29,12 @@ public interface GraphCommit<CommitId> { @NotNull List<CommitId> getParents(); + /** + * <p>Returns the timestamp indicating the date & time when this commit was made.</p> + * <p>This time is displayed in the table by default; + * it is used for joining commits from different repositories; + * it is used for ordering commits in a single repository (keeping the preference of the topological ordering of course).</p> + */ long getTimestamp(); } |