Repository navigation
Add RUNTIME section to wt config show - #375
Merged
Merged
Conversation
Display runtime information at the bottom of config show output: - Binary name (wt or git-wt) - Version string - Shell integration status (active vs not active) - argv[0] if different from binary name (for debugging invocation issues) This helps debug shell integration issues like #348 where users invoke `git wt` (binary) instead of `git-wt` (shell function). Closes #348 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
- Changed gutter spacing from 2 spaces to 1 space after the gutter marker - Removed dead fallback code (synoptic always has TOML support built-in) - Simplified the highlighting loop 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
In CI without git tags, version_str() returns just the commit hash (e.g., "b9ffe83") instead of a semver string (e.g., "v0.8.5-2-gabcdef"). Updated the snapshot filter regex to match both patterns. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
The previous filter matched any 7+ char hex string in dim codes, which incorrectly replaced commit hashes in merge progress messages. Now the filter only matches the specific pattern after "wt" in the RUNTIME section output. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
The shell integration status already indicates if someone is calling the binary directly vs through the shell function. The argv[0 check added complexity and test coverage burden for minimal diagnostic value. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
wt config showdisplaying binary name, version, and shell integration statusgit wt(binary) instead ofgit-wt(shell function)Example output:
Test plan
Closes #348
🤖 Generated with Claude Code