We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60ce25b commit f081229Copy full SHA for f081229
Library/Homebrew/diagnostic.rb
@@ -703,7 +703,7 @@ def check_git_status
703
If this is a surprise to you, then you should stash these modifications.
704
Stashing returns Homebrew to a pristine state but can be undone
705
should you later need to do so for some reason.
706
- git stash -u -C #{path} && git clean -d -f -C #{path}
+ git -C "#{path}" stash -u && git -C "${path}" clean -d -f
707
EOS
708
709
modified = status.split("\n")
0 commit comments