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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If case this comes up again, should we check for an env var for the path to stat that we can tell folks to set if their
/usr/bin/stat
binary chokes on a named pipe file? Or we could just do a quick-turn update - now that we have the infrastructure to support such updates.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should cover our bases - we've tried on Ubuntu, Fedora 28, and macOS - and it's a part of GNU coreutils so it should be at that path on all the supported OS's for PowerShell.
I understand the situation where some one on macOS (which uses the BSD way with
-f "%A"
wants to conform to the GNU standard-c %a
- but I don't really see why anyone would overwrite the existing one, they'd just change the symbolic link and the path we have set will still work.Personally, I think we're okay. But if you want me to check an environment variable, I can :)
Actually... did we ever add that functionality to add an environment variable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. You can already do this with an exising VSCode setting:
There are equivalent settings for Linux and OSX.
BTW I'm good with the PR as-is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh right! Thnsks Keith 👍