[PR #3797] feat(tui): restore git branch display in status bar #10764

Closed
opened 2026-02-16 18:15:30 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/3797

State: closed
Merged: No


This PR was created using GrokCodeFast1.

Restore git branch display in bottom status bar after OpenTUI migration.

  • Add useGitBranch hook for git repo detection and branch retrieval
  • Implement real-time updates via .git/HEAD file watcher
  • Display branch in format: ~/path/to/dir:branch

Fixes sst#3716

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/3797 **State:** closed **Merged:** No --- This PR was created using GrokCodeFast1. Restore git branch display in bottom status bar after OpenTUI migration. - Add useGitBranch hook for git repo detection and branch retrieval - Implement real-time updates via .git/HEAD file watcher - Display branch in format: ~/path/to/dir:branch Fixes [sst#3716](https://github.com/sst/opencode/issues/3716)
yindo added the pull-request label 2026-02-16 18:15:30 -05:00
yindo closed this issue 2026-02-16 18:15:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10764