Implement GitHub Pull Request Description Prompt Generator#22
Merged
mufeedvh merged 1 commit intomufeedvh:mainfrom Jun 21, 2024
Merged
Implement GitHub Pull Request Description Prompt Generator#22mufeedvh merged 1 commit intomufeedvh:mainfrom
mufeedvh merged 1 commit intomufeedvh:mainfrom
Conversation
Owner
|
This is an interesting feature, thank you for taking the time to implement it! Code LGTM, I am merging this right away! ❤️ 🙌 |
Contributor
Author
|
No worries! I'm glad you found the feature interesting. Looking forward to contributing more! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is this?
This pull request adds a feature to generate high-quality GitHub pull request descriptions based on the comparison of git diff and git log between two branches. This is crucial for maintaining clear and consistent documentation of changes, aiding in code review and project management.
Changes
Added Features:
src/git.rs:get_git_diff_between_branches: Generates a git diff between two branches.get_git_log: Retrieves the git log between two branches.Code Changes:
src/git.rs:src/lib.rs:get_git_diff_between_branchesandget_git_log.src/main.rs:git_diff_branchandgit_log_branch.templates/write-github-pull-request.hbs:Documentation Updates:
README.md:Demo
Context
N/A