From a635e6368fab9e76fa27119ac4dec6c540f509cd Mon Sep 17 00:00:00 2001 From: catatsuy Date: Sun, 2 Feb 2014 01:16:52 +0900 Subject: [PATCH] delete incorrect comment This comments is a wrong. When you run `git.rev_list`, `method_missing` is not executed. `Grit::GitRuby::Repository.rev_list` is executed. You should delete the comments if it does not make sense. --- lib/grit/git.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/grit/git.rb b/lib/grit/git.rb index 0c73fcd6..f5abbc68 100644 --- a/lib/grit/git.rb +++ b/lib/grit/git.rb @@ -291,9 +291,6 @@ def apply_patch(options={}, head_sha=nil, patch=nil) # Optionally yields to the block an IO object attached to the child # process's STDIN. # - # Examples - # git.native(:rev_list, {:max_count => 10, :header => true}, "master") - # # Returns a String with all output written to the child process's stdout # when the :process_info option is not set. # Returns a [exitstatus, out, err] tuple when the :process_info option is @@ -364,9 +361,6 @@ def native(cmd, options = {}, *args, &block) # Methods not defined by a library implementation execute the git command # using #native, passing the method name as the git command name. - # - # Examples: - # git.rev_list({:max_count => 10, :header => true}, "master") def method_missing(cmd, options={}, *args, &block) native(cmd, options, *args, &block) end