github / github/gh-stack

Git hook messages aren't displayed

Aperta
#346 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
bug topic: cli - push
Lingua principale
Go
Stelle
1.5k
Fork
70
Merge medio
1g 8h
PR unite (30g)
7

Descrizione

The stack CLI suppresses git hook output, which is confusing when the hooks are slow and frustrating when the hooks fail. For example, a `gh stack push` that fails because of a hook just outputs

```
❯ gh stack push
Skipping 1 merged branch
Pushing 2 branches to origin...
✗ failed to push: failed to run git: error: failed to push some refs to 'github.com:...'
```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing the issue with `gh stack push` and a Git hook that is slow or fails, then trace how the stack CLI runs Git commands and handles their output. Done means hook messages are visible during the command and hook failures retain useful output while still reporting the push failure.

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

Valutazione

Stack tecnologico
go
Ambito
cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
66/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.