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.
2 parents a729c53 + f081229 commit 1c625aaCopy full SHA for 1c625aa
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
- cd #{path} && git stash -u && git clean -d -f
+ git -C "#{path}" stash -u && git -C "${path}" clean -d -f
707
EOS
708
709
modified = status.split("\n")
0 commit comments