Skip to content

[pre-push] Add "enabled by GHerrit" footer#277

Merged
joshlf merged 1 commit intomainfrom
G0c64f313800ba081db53b28c5e603bb72e286a1d
Jan 28, 2026
Merged

[pre-push] Add "enabled by GHerrit" footer#277
joshlf merged 1 commit intomainfrom
G0c64f313800ba081db53b28c5e603bb72e286a1d

Conversation

@joshlf
Copy link
Owner

@joshlf joshlf commented Jan 28, 2026

Closes #274


Latest Update: v4 — Compare vs v3

📚 Full Patch History

Links show the diff between the row version and the column version.

Version v3 v2 v1 Base
v4 vs v3 vs v2 vs v1 vs Base
v3 vs v2 vs v1 vs Base
v2 vs v1 vs Base
v1 vs Base

Stacked PRs enabled by GHerrit.

@gemini-code-assist
Copy link

Summary of Changes

Hello @joshlf, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request enhances the GHerrit pre-push hook by automatically appending a descriptive footer to generated pull request bodies. This footer clearly indicates that stacked PRs are enabled and managed by GHerrit, providing context to reviewers and users about the workflow.

Highlights

  • GHerrit PR Description Footer: A new footer line, "Stacked PRs enabled by GHerrit.", has been added to the automatically generated pull request descriptions by GHerrit.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a footer to the body of generated pull requests, attributing the functionality to GHerrit. The change is straightforward, adding a single line of code to the pull request body builder. The implementation is correct and I have no suggestions for improvement.

@joshlf joshlf force-pushed the G0c64f313800ba081db53b28c5e603bb72e286a1d branch from 8a54b98 to f636c47 Compare January 28, 2026 22:59
Base automatically changed from Geb6d5a00c1076bf4c73d1703e80ef86d57f0a2a9 to main January 28, 2026 23:06
@joshlf joshlf force-pushed the G0c64f313800ba081db53b28c5e603bb72e286a1d branch from f636c47 to 047d590 Compare January 28, 2026 23:09
Closes #274

gherrit-pr-id: G0c64f313800ba081db53b28c5e603bb72e286a1d
@joshlf joshlf force-pushed the G0c64f313800ba081db53b28c5e603bb72e286a1d branch from 047d590 to 11cb841 Compare January 28, 2026 23:10
@joshlf joshlf merged commit 708f43e into main Jan 28, 2026
1 check passed
@joshlf joshlf deleted the G0c64f313800ba081db53b28c5e603bb72e286a1d branch January 28, 2026 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.

In PR bodies, add "made with GHerrit" footer

1 participant