Skip to content
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

Add previous commit as context to commit command #284

Open
gfargo opened this issue Nov 5, 2024 · 0 comments
Open

Add previous commit as context to commit command #284

gfargo opened this issue Nov 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@gfargo
Copy link
Owner

gfargo commented Nov 5, 2024

Describe the request
In some cases, it would be helpful to provide the previous commit, or even all previous commits in the current branch, as the context within the commit command.

One example being you've created a bunch of helper functions and type changes in earlier commits and now you're refactoring code to use the new helpers or types... If this was provided as context to the LLM it would be able to infer better how the newest commit is unique in relation to all the ones before it.

@gfargo gfargo added the enhancement New feature or request label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant