Skip to content

Commit

Permalink
Merge pull request #1801 from spiffxp/diff-output-is-ok
Browse files Browse the repository at this point in the history
lib_util: diff_colorized always exits 0
  • Loading branch information
k8s-ci-robot authored Mar 17, 2021
2 parents ed4e5eb + 344dd4b commit be4ead4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/gcp/lib_util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,5 @@ function join_by() {

# use git-diff for color output, strip patch header
function diff_colorized() {
git --no-pager diff --color --no-prefix --no-index "$@" | tail -n+5
(git --no-pager diff --color --no-prefix --no-index "$@" | tail -n+5) || true
}

0 comments on commit be4ead4

Please sign in to comment.