Skip to content

Conversation

mstv
Copy link
Member

@mstv mstv commented Dec 10, 2024

Fixes #11241

Proposed changes

  • Use Trim instead of skipping the last line (as suggested by @toesus)
  • Remove pointless support for Mac line end (git does not use it)

Test methodology

  • adapt exisiting tests

Merge strategy

I agree that the maintainer squash merge this PR (if the commit message is clear).


✒️ I contribute this code under The Developer Certificate of Origin.

@mstv mstv self-assigned this Dec 10, 2024
@mstv mstv force-pushed the fix/11241_tag_annotation branch 2 times, most recently from 7fa882a to 961cf4c Compare December 10, 2024 22:04
@mstv mstv merged commit 169bc29 into gitextensions:master Dec 11, 2024
5 checks passed
@mstv mstv deleted the fix/11241_tag_annotation branch December 11, 2024 21:01
@mstv mstv added this to the v5.2 milestone Jan 11, 2025
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.

Last line of annotated tag gets truncated if output of "git cat-file" does not end with an empty newline
2 participants