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 7d285c0 commit 60ce25bCopy full SHA for 60ce25b
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
- pushd #{path} && git stash -u && git clean -d -f && popd
+ git stash -u -C #{path} && git clean -d -f -C #{path}
707
EOS
708
709
modified = status.split("\n")
0 commit comments