Skip to content

Commit

Permalink
Merge pull request mojombo#78 from kevinsawicki/patch-1
Browse files Browse the repository at this point in the history
Fix typo in tree method doc
  • Loading branch information
tmm1 committed Jul 1, 2011
2 parents cb2644c + 8e27154 commit 568935d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grit/repo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def diff_objects(commit_sha, parents = true)

# The Tree object for the given treeish reference
# +treeish+ is the reference (default 'master')
# +paths+ is an optional Array of directory paths to restrict the tree (deafult [])
# +paths+ is an optional Array of directory paths to restrict the tree (default [])
#
# Examples
# repo.tree('master', ['lib/'])
Expand Down

0 comments on commit 568935d

Please sign in to comment.