-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Full Commit Message in .GitInfo #10905
Comments
This would have to be added to this struct: https://github.com/bep/gitmap/blob/master/gitmap.go#L44 I'm not totally sure how that would work with the current |
@bep Thanks for the quick response and for providing this wonderful piece of software! This feature is not a blocker at all for us. |
PeskyPotato
added a commit
to PeskyPotato/hugo
that referenced
this issue
Jul 5, 2024
Updated bep/gitmap to v1.4.0, to get commit message's Body. Added Body to GitInfo struct. Fixes gohugoio#10905
PeskyPotato
added a commit
to PeskyPotato/hugo
that referenced
this issue
Jul 5, 2024
Included an example for commit Body exposed by GitInfo. Fixes gohugoio#10905
Merged
PeskyPotato
added a commit
to PeskyPotato/hugo
that referenced
this issue
Jul 5, 2024
Updated bep/gitmap to v1.4.0, to get commit message's Body. Added Body to GitInfo struct. Docs upated with commit body example. Fixes gohugoio#10905
PeskyPotato
added a commit
to PeskyPotato/hugo
that referenced
this issue
Jul 5, 2024
Updated bep/gitmap to v1.4.0, to get commit message's Body. Added Body to GitInfo struct. Docs upated with commit body example. Fixes gohugoio#10905
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current Behavior
The
.GitInfo
object hat aSubject
field which contains the first line of the commit messageProposed Bahavior
Add another field
Message
with the full commit message.Reasoning
We implemented a content management system based on Git and Hugo. For the meta information it would be useful to present the full commit message, e.g. as a tooltip on top of the subject.
The text was updated successfully, but these errors were encountered: