From 92c7ede02529c6fd642d886559fccafabc3c2e04 Mon Sep 17 00:00:00 2001 From: Krasimir Nedelchev <19822240+kaykayehnn@users.noreply.github.com> Date: Sun, 4 Dec 2022 11:59:15 +0200 Subject: [PATCH] doctor: add -u flag to suggested git stash command --- Library/Homebrew/diagnostic.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index 5e0abe78b7..bd709195c2 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -672,7 +672,7 @@ module Homebrew If this is a surprise to you, then you should stash these modifications. Stashing returns Homebrew to a pristine state but can be undone should you later need to do so for some reason. - cd #{path} && git stash && git clean -d -f + cd #{path} && git stash -u && git clean -d -f EOS modified = status.split("\n")