CodeEditApp / CodeEditApp/CodeEdit

🐞 Source Control Commit History Data Error

Open
#1,716 0 comments 0 reactions 0 assignees View on GitHub
bug inspector sidebar
Dominant language
Swift
Stars
23k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.