Skip to content

Refactor Git::Log to use explicit execution with #execute method #814

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 2, 2025

Conversation

jcouball
Copy link
Member

@jcouball jcouball commented Jul 2, 2025

Redesign Git::Log to separate query building from execution by introducing an #execute method.

This change enhances API clarity and predictability, allowing users to explicitly run the git command and receive an immutable result object.

Data access methods on the Log class will now issue deprecation warnings, as they will be removed in future versions.

This update partially addresses issue #813.

This partially implements #813

Log data access methods directly on the Log class will return a deprecation warning
since they will be removed in the future.
@jcouball jcouball merged commit ded54c4 into main Jul 2, 2025
7 checks passed
@jcouball jcouball deleted the no_lazy_loading branch July 2, 2025 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant