change git show to | head -1
git show uses default system pager, which for people that have
funky pagers, goes sideways. Pipe this through head -1 to ensure
we only get the single change line we care about.
Change-Id: Iff22612b555bf58fe12101701cfe593f37e8f8de
diff --git a/functions b/functions
index f30c7ad..8c0bc28 100644
--- a/functions
+++ b/functions
@@ -556,7 +556,7 @@
echo "Running in offline mode, clones already exist"
# print out the results so we know what change was used in the logs
cd $GIT_DEST
- git show --oneline --quiet
+ git show --oneline | head -1
return
fi
@@ -604,7 +604,7 @@
# print out the results so we know what change was used in the logs
cd $GIT_DEST
- git show --oneline --quiet
+ git show --oneline | head -1
}