CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

🐞 Source Control Commit History Data Error

Open austincondiff opened this issue 1 year ago • 0 comments

Description

When a git squash is present in the commit history, it throws off all subsequent commits in the history list.

To Reproduce

  1. Open a project that has a git repository
  2. Open a file that was changed in a PR that was squashed and merged.
  3. Open the history inspector in the right sidebar
  4. Notice that the list items starting with the squashed commit message do not display correctly.

Expected Behavior

All the commits in the history list should be displayed with a name and description.

Version Information

CodeEdit: 0.1.0 macOS: 14.4.1 Xcode: 15.4

Additional Context

At the bottom of the list, you see ... and 53 commits

Screenshot 2024-05-14 at 11 34 42 AM

It seems like the data is getting incorrectly parsed from the git output.

Screenshots

Screenshot 2024-05-14 at 11 36 40 AM

austincondiff avatar May 14 '24 16:05 austincondiff