Skip to content

Commit

Permalink
contest: cli: cidiff make sure we exit with 0
Browse files Browse the repository at this point in the history
git diff sets an non-zero return code, which makes running
this script as part of services impossible.

Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
kuba-moo committed Aug 29, 2024
1 parent 810a2dd commit a384915
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contest/cidiff
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ git log --format="%s" $base2..$BRANCH2 > $tmp2

echo "==== COMMIT DIFF ===="
git --no-pager diff --no-index $tmp1 $tmp2

exit 0

0 comments on commit a384915

Please sign in to comment.