Git hook messages aren't displayed
- Ngôn ngữ chính
- Go
- Star
- 1.5k
- Fork
- 70
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 7
Mô tả
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:...'
```
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- go
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 66/100