Module: Git::Repository::Logging
- Included in:
- Git::Repository
- Defined in:
- lib/git/repository/logging.rb
Overview
Facade methods for querying commit history
Included by Git::Repository.
Instance Method Summary collapse
-
#full_log_commits(opts = {}) ⇒ Array<Hash>
Returns commits within the given revision range.
-
#log(count = 30) ⇒ Git::Log
Returns a new Log query builder scoped to this repository.
Instance Method Details
#full_log_commits(opts = {}) ⇒ Array<Hash>
Returns commits within the given revision range
74 75 76 77 78 79 80 81 82 |
# File 'lib/git/repository/logging.rb', line 74 def full_log_commits(opts = {}) SharedPrivate.assert_valid_opts!(FULL_LOG_COMMITS_ALLOWED_OPTS, **opts) Private.validate_log_count_option!(opts) Private.validate_log_between_option!(opts) call_opts = Private.(opts, skip: opts[:skip], merges: opts[:merges]) revision_range_args = Private.log_revision_range_args(opts) Private.run_log_command(@execution_context, revision_range_args, call_opts) end |