Skip to content

Commit 9779048

Browse files
committed
Fix misprint + incorrect formatting
1 parent e6560af commit 9779048

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

ext/rugged/rugged_blame.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,19 +125,19 @@ static void rugged_parse_blame_options(git_blame_options *opts, git_repository *
125125
* The last line in the file to blame. Defaults to the last line in
126126
* the file.
127127
*
128-
* :track_copies_same_file
128+
* :track_copies_same_file ::
129129
* If this value is +true+, lines that have moved within a file will be
130130
* tracked (like `git blame -M`).
131131
*
132-
* :track_copies_same_commit_moves
132+
* :track_copies_same_commit_moves ::
133133
* If this value is +true+, lines that have moved across files in the same
134134
* commit will be tracked (like `git blame -C`).
135135
*
136-
* :track_copies_same_commit_copies
136+
* :track_copies_same_commit_copies ::
137137
* If this value is +true+, lines that have been copied from another file
138138
* that exists in the same commit will be tracked (like `git blame -CC`).
139139
*
140-
* :track_copies_any_commit_copies
140+
* :track_copies_any_commit_copies ::
141141
* If this value is +true+, lines that have been copied from another file
142142
* that exists in *any* commit will be tracked (like `git blame -CCC`).
143143
*

lib/rugged/repository.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def create_branch(name, sha_or_ref = "HEAD")
190190
# revision - The String SHA1.
191191
# path - The String file path.
192192
#
193-
# Returns a String.
193+
# Returns a Rugged::Blob object
194194
def blob_at(revision, path)
195195
tree = Rugged::Commit.lookup(self, revision).tree
196196
begin

lib/rugged/tree.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def each_blob
3030
self.each { |e| yield e if e[:type] == :blob }
3131
end
3232

33-
# Iterat over the subtrees in this tree
33+
# Iterate over the subtrees in this tree
3434
def each_tree
3535
self.each { |e| yield e if e[:type] == :tree }
3636
end

0 commit comments

Comments
 (0)