CodeEditApp / CodeEditApp/CodeEdit

🐞 Source Control Commit History Data Error

Aberta
#1,716 0 comentários 0 reações 0 responsáveis Ver no GitHub
bug inspector sidebar
Linguagem predominante
Swift
Estrelas
23k
Forks
1.2k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Comece rastreando o inspetor do histórico e o código que analisa a saída do histórico do git; em seguida, reproduza o problema com um repositório que contenha um merge com squash. Verifique se cada commit exibido, incluindo os que vêm após o squash, tem o nome e a descrição corretos e se a contagem final de commits continua precisa.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
git, swift
Domínio
devtools
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
38/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.