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
Git Notes don't show in beta 3.00.00.01 #5653
Comments
From what I could infer, the problem is that we initialise the body for each revision (L419): gitextensions/GitCommands/RevisionReader.cs Lines 407 to 421 in cfe0662
And when we display the revision we no longer attempt to load auxiliary information, such as notes: gitextensions/GitUI/CommitInfo/CommitInfo.cs Lines 195 to 201 in 6638098
One way of fixing the issue is not to set the I've skimped through 2.5x codebase, and it looks like we didn't always read the body in @spdr870 @drewnoakes @gerhardol: What's the best course of action? |
Long Term: Notes do show up when you view it by double clicking on commit. |
No, I don't. |
Body is just read (or saved?) for commits not older than six months. I suggest this is listed as a known error in beta2/rc1. |
Thanks, I'll downgrade it. Though we need to get it fixed for the official release. |
I don't think this approach will work in the current use case.
IIUC, we started loading the body of commits to show Thinking out load, we can introduce |
Seem OK |
This is worse than I saw in the first analysis. Notes can only be seen for commits older than 6 months that has multiline messages. #6026 implements the handling similar to how it was done in 2.x, requesting the information if needed in CommitInfo. I.e. GE need to track if notes is included in the Body or if it should be loaded with a separate property. This limit processing and storage but adds some tenths of ms extra to open CommitInfo (not an issue).
Another way could be to always load the notes or to separate notes and body in separate attributes. |
Let's patch it the way you've done it. We can rework it in the following releases. |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Git Notes show just fine in v2.51.05, but don't show at all in the latest beta.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Create a git note.
What is the expected behavior?
The note should show as it does in the previous stable version.
Environment you encounter the issue:
Windows
The "Help-About Copy" or "Report an Issue" button doesn't seem to put anything into my clipboard either.
Did this work in previous version of GitExtensions (which)?
The text was updated successfully, but these errors were encountered: