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

New commits:
commit ac3daec709f75c6b76c6c1786b80e00b476c024e
Author:     Andras Timar <[email protected]>
AuthorDate: Thu Jun 13 15:07:31 2019 +0200
Commit:     Andras Timar <[email protected]>
CommitDate: Thu Jun 13 15:07:31 2019 +0200

    show the author, too

diff --git a/scripts/git-cherry-gerrit b/scripts/git-cherry-gerrit
index 5dc7ebb..0505383 100755
--- a/scripts/git-cherry-gerrit
+++ b/scripts/git-cherry-gerrit
@@ -36,13 +36,13 @@ for hash in ${from_hashes}
 do
         changeid="$(git cat-file commit $hash |grep Change-Id:)"
         if [ -z "$changeid" ]; then
-            pretty=`git --no-pager log -1 --pretty=oneline $hash`
+            pretty=`git --no-pager log -1 
--format='format:%h%x09%an%x09%s%x0a' $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 --no-pager log -1 --pretty=oneline $hash
+                git --no-pager log -1  --format='format:%h%x09%an%x09%s%x0a' 
$hash
         fi
 done
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to