diff options
| -rw-r--r-- | Library/Homebrew/cmd/update.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh index 54f4f9517..80f49b64d 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 } |
