Skip to content

fix bug in sup output heuristic - #7181

Merged
mccanne merged 1 commit into
mainfrom
fix-terminal-heuristic
Aug 4, 2026
Merged

fix bug in sup output heuristic#7181
mccanne merged 1 commit into
mainfrom
fix-terminal-heuristic

Conversation

@mccanne

@mccanne mccanne commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

This commit fixes a bug introduced when CSUP replaced BSUP as the default format. When writing to a terminal without -f, the output should be SUP even if commands like "super db ls" override the DefaultFormat setting. With this fix, "super db ls" etc now properly output in db format instead of sup. There is not a good way to test this as ztests run without a terminal.

Fixes #7075

This commit fixes a bug introduced when CSUP replaced BSUP as the
default format.  When writing to a terminal without -f, the output
should be SUP even if commands like "super db ls" override the
DefaultFormat setting.  With this fix, "super db ls" etc now properly
output in db format instead of sup.  There is not a good way to test
this as ztests run without a terminal.
@mccanne
mccanne merged commit e5ef105 into main Aug 4, 2026
2 checks passed
@mccanne
mccanne deleted the fix-terminal-heuristic branch August 4, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unformatted db metadata in "super db ls" output

2 participants