Merge "change git show to | head -1"

This commit is contained in:
Jenkins 2013-09-26 04:54:57 +00:00 committed by Gerrit Code Review
commit d76b11f56e

View File

@ -556,7 +556,7 @@ function git_clone {
echo "Running in offline mode, clones already exist" echo "Running in offline mode, clones already exist"
# print out the results so we know what change was used in the logs # print out the results so we know what change was used in the logs
cd $GIT_DEST cd $GIT_DEST
git show --oneline --quiet git show --oneline | head -1
return return
fi fi
@ -604,7 +604,7 @@ function git_clone {
# print out the results so we know what change was used in the logs # print out the results so we know what change was used in the logs
cd $GIT_DEST cd $GIT_DEST
git show --oneline --quiet git show --oneline | head -1
} }