diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh index 54f4f95179fc0353d1a9879b285ee68713a2aa6f..80f49b64df736c2c139d41a0a54be3a8cac5ceb4 100644 --- a/Library/Homebrew/cmd/update.sh +++ b/Library/Homebrew/cmd/update.sh @@ -95,11 +95,13 @@ read_current_revision() { pop_stash() { [[ -z "$STASHED" ]] && return - git stash pop "${QUIET_ARGS[@]}" if [[ -n "$HOMEBREW_VERBOSE" ]] then + git stash pop echo "Restoring your stashed changes to $DIR:" git status --short --untracked-files + else + git stash pop "${QUIET_ARGS[@]}" 1>/dev/null fi unset STASHED }