Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
do not exit if no git
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepeak committed Dec 21, 2017
1 parent 0f74551 commit f642594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codecov
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ fi
if [ "$commit_o" = "" ];
then
# merge commit -> actual commit
mc=$(git show --no-patch --format="%P" 2>/dev/null)
mc=$(git show --no-patch --format="%P" 2>/dev/null || echo '')
if [[ "$mc" =~ ^[a-z0-9]{40}[[:space:]][a-z0-9]{40}$ ]];
then
say " Fixing merge commit SHA"
Expand Down

0 comments on commit f642594

Please sign in to comment.