show newer commits if on detached head
- Lenguaje dominante
- Rust
- Estrellas
- 22.5k
- Forks
- 773
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Right now the log starts from HEAD - no matter if that's a tip of a branch or not.
For #81 we need to do the revwalk from every tip and come up with a smart data structure that allows us to draw the correct graph without storing the whole graph in memory.
Before tackling #81 we can at least [determine](https://libgit2.org/libgit2/#HEAD/group/graph/git_graph_descendant_of) if we are on a detached head and then iterate the branches whether one is a descendent of our current HEAD and then start from the branch tip and visualize where HEAD is in the log.
Guía de contribución
Línea de trabajo
Comienza en la ruta de generación del log, que actualmente empieza en HEAD, y después inspecciona los puntos de entrada de detached-head y del recorrido de ramas. Usa las indicaciones de libgit2 sobre git_graph_descendant_of para determinar qué puntas de rama deben mostrarse; se considera terminado cuando el log muestra commits más nuevos y posiciona correctamente el detached HEAD, sin abordar todo el trabajo del grafo en #81.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- git, rust
- Área
- cli
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 50/100