"git stack list" shows all commit in the repo

Aperta
#7 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
git, github, python
Ambito
cli, devtools

Direzione di ricerca

Reproduce the behavior from the issue by running git stack list on the described stacked branch, then trace the command's stack-boundary detection. Done means the list stops at the stack base rather than showing the repository's full history, and git stack pr --all does not include unrelated commits.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

First of all, much thanks for this tool! It warms my heart to see a free to use PR stacking tool out there.

I currently have this stack:

commit 78807ddaebc1134b9035dc30b2c171dedff23ff8 (HEAD -> ahmet/misc-refactoring-4)
...
    prev-branch: ahmet/misc-refactoring-3


commit 184725a1c420dbed31e73b15a7de77f9fc84aa43 (ahmet/misc-refactoring-3)
...
    prev-branch: ahmet/misc-refactoring-2


commit a2f6e3521695bd246aa5c83bf0c97d8cff333849 (ahmet/misc-refactoring-2)
...
    prev-branch: ahmet/misc-refactoring-1


commit b5c7be93b7b2f9ac149cae2cb60131e85d7f656c (origin/ahmet/misc-refactoring, ahmet/misc-refactoring-1, ahmet/misc-refactoring)

When I'm on branch ahmet/misc-refactoring-4 (tip) and run git stack list, I get the entire commit tree all the way down to the initial commit. It seems for whatever reason the tool is not detecting where the stacking begins.

$ git stack list
  * 78807dd 11 minutes (HEAD, ahmet/misc-refactoring-4) <commitmsg>
  * 184725a 39 minutes (ahmet/misc-refactoring-3) <commitmsg>
  * a2f6e35 49 minutes (ahmet/misc-refactoring-2) <commitmsg>
  * b5c7be9 69 minutes (ahmet/misc-refactoring-1) <commitmsg>
 /
* 12c1728 5 hours (tag: v0.0.566, master) <commitmsg>
* | * 1c6fb9e 10 hours (ahmet/anotherbranch) <commitmsg>
* |/

I'm very scared of running git stack pr --all because it might create hundreds of PRs. 😬

Any ideas what might be going on here?

Lingua principale
Python
Stelle
17
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di stevearc/gitstack

Tutte le issue di stevearc/gitstack

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.