We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cca75ca commit 4accea7Copy full SHA for 4accea7
check_license/check_headers.sh
@@ -68,10 +68,10 @@ while [ "$1" != "" ]; do
68
done
69
70
if [ $CHECK_ALL -eq 0 ]; then
71
- CURRENT_COMMIT=$($GIT log --pretty=%H -1)
+ CURRENT_COMMIT=$($GIT --no-pager log --pretty=%H -1)
72
MERGE_BASE=$($GIT merge-base HEAD origin/master 2>/dev/null)
73
[ -z $MERGE_BASE ] && \
74
- MERGE_BASE=$($GIT log --pretty="%cN:%H" | grep GitHub | head -n1 | cut -d: -f2)
+ MERGE_BASE=$($GIT --no-pager log --pretty="%cN:%H" | grep GitHub | head -n1 | cut -d: -f2)
75
[ -z $MERGE_BASE -o "$CURRENT_COMMIT" = "$MERGE_BASE" ] && \
76
CHECK_ALL=1
77
fi
0 commit comments