github / github/gh-stack

Git hook messages aren't displayed

Open
#346 0 comments 1 reaction 0 assignees View on GitHub
bug topic: cli - push
Dominant language
Go
Stars
1.5k
Forks
70
Avg merge
1d 8h
Merged PRs (30d)
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:...'
```

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
66/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.