Class | Grit::GitRuby::Repository |
In: |
lib/grit/git-ruby/repository.rb
|
Parent: | Object |
git_dir | [RW] | |
options | [RW] |
returns true if the files in path_limiter were changed, or no path limiter used by the log() function when passed with a path_limiter
returns a 2-d hash of the tree
returns an array of GitRuby Commit objects
takes the following options:
:since - Time object specifying that you don't want commits BEFORE this :until - Time object specifying that you don't want commit AFTER this :first_parent - tells log to only walk first parent :path_limiter - string or array of strings to limit path :max_count - number to limit the output
returns the raw (cat-file) output for a tree if given a commit sha, it will print the tree of that commit if given a path limiter array, it will limit the output to those if asked for recrusive trees, will traverse trees
takes 2 tree shas and recursively walks them to find out what files or directories have been modified in them and returns an array of changes [ [full_path, ‘added’, tree1_hash, nil],
[full_path, 'removed', nil, tree2_hash], [full_path, 'modified', tree1_hash, tree2_hash] ]