scripts/git-cherry-gerrit |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit c1326e2d7609ebfb92f0cdc0d3a98bbe4d448793
Author:     Jan Holesovsky <ke...@collabora.com>
AuthorDate: Thu Nov 15 16:30:44 2018 +0100
Commit:     Jan Holesovsky <ke...@collabora.com>
CommitDate: Thu Nov 15 16:31:35 2018 +0100

    git-cherry-gerrit: Show more about the missing commits too.
    
    Change-Id: I6b478cabf10a9271ba5c16202090ee8cd844cc94

diff --git a/scripts/git-cherry-gerrit b/scripts/git-cherry-gerrit
index eabf3a7..f1f6e76 100755
--- a/scripts/git-cherry-gerrit
+++ b/scripts/git-cherry-gerrit
@@ -36,12 +36,13 @@ for hash in ${from_hashes}
 do
         changeid="$(git cat-file commit $hash |grep Change-Id:)"
         if [ -z "$changeid" ]; then
-            echo "WARNING: commit $hash has no Change-Id, assuming it has to 
be cherry-picked."
+            pretty=`git --no-pager log -1 --pretty=oneline $hash`
+            echo "WARNING: commit '$pretty' has no Change-Id, assuming it has 
to be cherry-picked."
             continue
         fi
 
         if ! grep -q "$changeid" /tmp/tohashes; then
-                git log -1 --pretty=oneline $hash
+                git --no-pager log -1 --pretty=oneline $hash
         fi
 done
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to