fix(git-bulk): quiet find errors by default by pierreay · Pull Request #1196 · tj/git-extras

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@pierreay

Copy link Copy Markdown

Contributor

It may be a bad experience for a user to see a bunch of find errors (e.g., file name too long, no permissions, etc.) when using git-bulk. I feel like it is not the job of the tool to report all errors that find can throws when searching all files under a hierarchy. Therefore, I quiet the find errors by default in this PR. If showing its errors is really on purpose, maybe we could create a flag to do so?

@pierreay pierreay marked this pull request as ready for review

February 17, 2025 06:35
Copy link Copy Markdown

Collaborator

@hyperupcall hyperupcall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, sounds reasonable to me!

pierreay reacted with thumbs up emoji

@spacewander spacewander merged commit 1a9b0c2 into tj:main

Feb 20, 2025

5 checks passed

@spacewander

Copy link Copy Markdown

Collaborator

@pierreay
Merged. Thanks!

pierreay reacted with heart emoji

@pierreay pierreay deleted the feat/git-bulk-quiet-find-errors branch

February 20, 2025 16:45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@spacewander spacewander spacewander approved these changes

@hyperupcall hyperupcall hyperupcall approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@pierreay @spacewander @hyperupcall