Permalink
Browse files

Fix typo in tree method doc

  • Loading branch information...
1 parent cb2644c commit 8e2715471201a764bb172775dd9892e469c6fc28 @kevinsawicki kevinsawicki committed Jul 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/grit/repo.rb
View
@@ -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/'])

0 comments on commit 8e27154

Please sign in to comment.