restack optimization: git replay
- Vorherrschende Sprache
- Go
- Sterne
- 763
- Forks
- 72
- Ø Merge
- 18 Std. 24 Min.
- Gemergte PRs (30 T.)
- 28
Beschreibung
git replay is an experimental new command that can replay commits on a new base.
https://git-scm.com/docs/git-replay/2.44.0
For rebases that apply cleanly (no conflicts), if this command is available, it'll be faster to restack because the working tree will never be touched.
And if we can pre-determine that there will be conflicts, we can support an option to perform a restack only for branches that'll restack cleanly.
Beitragsleitfaden
Rechercherichtung
Suche im Codebestand nach der Implementierung des Befehls restack, wahrscheinlich in einem Verzeichnis wie cmd/restack. Verstehe, wie git-spice derzeit Rebases durchführt. Recherchiere die API und Integrationspunkte von git replay. Bestimme, wie saubere Rebases und Konflikte erkannt werden. Die Änderung umfasst das Hinzufügen eines neuen git replay-Backends und möglicherweise eines Flags für Restacks, die nur saubere Rebases durchführen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- git, go
- Bereich
- cli, developer-experience
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100