[Libreoffice-commits] dev-tools.git: scripts/git-cherry-gerrit
Andras Timar (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jun 13 13:07:55 UTC 2019
scripts/git-cherry-gerrit | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit ac3daec709f75c6b76c6c1786b80e00b476c024e
Author: Andras Timar <andras.timar at collabora.com>
AuthorDate: Thu Jun 13 15:07:31 2019 +0200
Commit: Andras Timar <andras.timar at collabora.com>
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
More information about the Libreoffice-commits
mailing list