github / github/gh-stack

Git hook messages aren't displayed

Ouverte
#346 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
bug topic: cli - push
Langage dominant
Go
Étoiles
1.5k
Forks
70
Merge moyen
1 j 8 h
PR mergées (30 j)
7

Description

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:...'
```

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
go
Domaine
cli
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
66/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.