Class: RJGit::TrackingCommit
Instance Attribute Summary collapse
-
#tracked_pathname ⇒ Object
readonly
This commit is part of a log for a single pathname.
Attributes inherited from Commit
#actor, #authored_date, #committed_date, #committer, #id, #jcommit, #message, #parent_count, #parents, #short_message
Instance Method Summary collapse
-
#initialize(repository, commit, tracked_pathname = nil) ⇒ TrackingCommit
constructor
A new instance of TrackingCommit.
Methods inherited from Commit
#diff, #diffs, find_all, find_head, new_with_tree, #stats, #tree
Constructor Details
#initialize(repository, commit, tracked_pathname = nil) ⇒ TrackingCommit
Returns a new instance of TrackingCommit.
135 136 137 138 |
# File 'lib/commit.rb', line 135 def initialize(repository, commit, tracked_pathname = nil) super(repository, commit) @tracked_pathname = tracked_pathname end |
Instance Attribute Details
#tracked_pathname ⇒ Object (readonly)
This commit is part of a log for a single pathname. The tracked_pathname attribute tracks the pathname over renames.
133 134 135 |
# File 'lib/commit.rb', line 133 def tracked_pathname @tracked_pathname end |