Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

[WIP] Fix broken pipe issue in pipeline commands#5

Closed
towry with Copilot wants to merge 0 commit into
mainfrom
copilot/fix-broken-pipe-issue
Closed

[WIP] Fix broken pipe issue in pipeline commands#5
towry with Copilot wants to merge 0 commit into
mainfrom
copilot/fix-broken-pipe-issue

Conversation

Copilot AI commented Oct 16, 2025

Copy link
Copy Markdown
Contributor

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.

Original prompt

This section details on the original issue you should resolve

<issue_title>fix broken pipe issue</issue_title>
<issue_description>## Problem
When path-git-format is used in a pipeline with commands that close the pipe early (like head -n 1, fzf, or similar), it crashes with a BrokenPipe error instead of exiting gracefully.

Example

zoxide query --list --exclude $PWD | path-git-format --filter --no-bare -f"{path} [{branch}]" | fzf ... | head -n 1
# Error: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }</issue_description>

## Comments on the Issue (you are @copilot in this section)

<comments>
</comments>

Fixes #4


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@towry towry closed this Oct 16, 2025
@towry towry force-pushed the copilot/fix-broken-pipe-issue branch from 9484f87 to 50dbd96 Compare October 16, 2025 09:52
Copilot AI requested a review from towry October 16, 2025 09:52
@towry towry deleted the copilot/fix-broken-pipe-issue branch October 16, 2025 09:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix broken pipe issue

2 participants