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

github.com/git/git-scm.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/tasks/index.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/index.rake b/lib/tasks/index.rake
index 04839a37..87ad7413 100644
--- a/lib/tasks/index.rake
+++ b/lib/tasks/index.rake
@@ -356,7 +356,7 @@ def local_index_doc(index_fun)
commit_sha = `git rev-parse #{tag}`.chomp
tree_sha = `git rev-parse #{tag}^{tree}`.chomp
tagger = `git cat-file commit #{tag} | grep committer`.chomp.split(" ")
- tz = tagger.pop
+ _tz = tagger.pop
ts = tagger.pop
ts = Time.at(ts.to_i)
[tag, commit_sha, tree_sha, ts]
@@ -368,7 +368,7 @@ def local_index_doc(index_fun)
get_file_list = lambda do |tree_sha|
entries = `git ls-tree -r #{tree_sha}`.strip.split("\n")
tree = entries.map do |e|
- mode, type, sha, path = e.split(" ")
+ _mode, _type, sha, path = e.split(" ")
[path, sha]
end
end