github / github/gh-stack

Git hook messages aren't displayed

オープン
#346 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
bug topic: cli - push
主要言語
Go
スター
1.5k
フォーク
70
平均マージ
1日 8時間
マージ済み PR(30日)
7

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、遅い、または失敗する Git hook を使って `gh stack push` で問題を再現し、次に stack CLI が Git コマンドを実行し、その出力を処理する方法を追跡します。コマンドの実行中に hook のメッセージが表示され、hook の失敗時にも有用な出力が保持され、なおかつ push の失敗が報告されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
go
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
66/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。