Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-22 10:02:48 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-22 10:02:48 +0300
commit7d1e6f154678af5bb1dd74e84a4e8ae393a9633b (patch)
treea47f1c9d90c3c91d2ae1cbca0f38fcea68667ce5 /app/helpers/tree_helper.rb
parent581b2c5e90f127739dda248b5fb1a60089edb51b (diff)
parent5c801602189bdf179432e9ef5885f6c6fef438f2 (diff)
Merge pull request #8607 from skburgart/fix-typos
Fix various typos
Diffstat (limited to 'app/helpers/tree_helper.rb')
-rw-r--r--app/helpers/tree_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/tree_helper.rb b/app/helpers/tree_helper.rb
index 133b0dfae9b..b65f8a33fec 100644
--- a/app/helpers/tree_helper.rb
+++ b/app/helpers/tree_helper.rb
@@ -109,7 +109,7 @@ module TreeHelper
tree_join(@ref, file)
end
- # returns the relative path of the first subdir that doesn't have only one directory descendand
+ # returns the relative path of the first subdir that doesn't have only one directory descendant
def flatten_tree(tree)
subtree = Gitlab::Git::Tree.where(@repository, @commit.id, tree.path)
if subtree.count == 1 && subtree.first.dir?