[PR #899] [CLOSED] Feature/status bar git head #9743

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/899
Author: @agileandy
Created: 7/11/2025
Status: Closed

Base: devHead: feature/status-bar-git-head


📝 Commits (4)

  • 006965b feat: add git head display to status bar
  • 393eac2 Test commit for status bar
  • 03064e3 Initial test commit
  • 80906ad feat: add git head display to status bar

📊 Changes

8 files changed (+550 additions, -82 deletions)

View changed files

📝 README.md (+1 -79)
opencode-with-git (+0 -0)
📝 packages/tui/internal/components/status/status.go (+26 -3)
packages/tui/internal/components/status/status_test.go (+215 -0)
packages/tui/internal/util/git.go (+122 -0)
packages/tui/internal/util/git_test.go (+186 -0)
packages/tui/opencode (+0 -0)
packages/tui/opencode-with-git (+0 -0)

📄 Description

When working with agentic coding tools it is imperative to ensure the agent is working on the piece of code. Knowing git head is key to this.

This is a simple feature to shorten the cwd than add the git head info.

The change is theme aware so will blend in with the overall look and feel


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/899 **Author:** [@agileandy](https://github.com/agileandy) **Created:** 7/11/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feature/status-bar-git-head` --- ### 📝 Commits (4) - [`006965b`](https://github.com/anomalyco/opencode/commit/006965b35a1d479e4cd3a15df4d2cced7f7770dd) feat: add git head display to status bar - [`393eac2`](https://github.com/anomalyco/opencode/commit/393eac2dba6cca15515756568968058825662352) Test commit for status bar - [`03064e3`](https://github.com/anomalyco/opencode/commit/03064e3110a9b1a8be88b38ab71900b4b2fcad78) Initial test commit - [`80906ad`](https://github.com/anomalyco/opencode/commit/80906ad9e8d01180822df4e9d21a78555b772076) feat: add git head display to status bar ### 📊 Changes **8 files changed** (+550 additions, -82 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -79) ➕ `opencode-with-git` (+0 -0) 📝 `packages/tui/internal/components/status/status.go` (+26 -3) ➕ `packages/tui/internal/components/status/status_test.go` (+215 -0) ➕ `packages/tui/internal/util/git.go` (+122 -0) ➕ `packages/tui/internal/util/git_test.go` (+186 -0) ➕ `packages/tui/opencode` (+0 -0) ➕ `packages/tui/opencode-with-git` (+0 -0) </details> ### 📄 Description When working with agentic coding tools it is imperative to ensure the agent is working on the piece of code. Knowing git head is key to this. This is a simple feature to shorten the cwd than add the git head info. The change is theme aware so will blend in with the overall look and feel --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:05 -05:00
yindo closed this issue 2026-02-16 18:14:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9743