Stephan Bergmann
ff5d23638b
Restore .git-hooks/commit-msg
...
...that 729ae51350 "Update Sifr Mimetype Icons"
had modified, presumably in error
Change-Id: I077eeb2d304d145a68edceae7196417b329adaee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148458
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
2023-03-08 10:37:00 +00:00
Galdam
729ae51350
Update Sifr Mimetype Icons
...
Updated Sifr mimetype icons to match new app/mimetype icons
Change-Id: I4dda9bd4f342ed068bf1a10f9ffb23246685cc94
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148429
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org >
Tested-by: Rizal Muttaqin <rizmut@libreoffice.org >
2023-03-07 22:03:12 +00:00
Rene Engelhard
fd42cea5f3
replace egrep/fgrep calls with grep -E/grep -F
...
as egrep/fgrep is deprecated since long amd grep 3.8+ now actually warns
(e.g. "egrep: warning: egrep is obsolescent; using grep -E")
Change-Id: I5b10f05dffdd09081deb05cef974e3cdb2907315
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139614
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com >
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com >
2022-09-08 14:43:53 +02:00
Jan-Marek Glogowski
c5eb63edde
git hooks: update commit-msg to Gerrit 2.16.15
...
This mainly replaces the whole AWK code with the git helper
"interpret-trailers", which was added in git v2.2 end of 2014.
It also moves the argument checks from the original Gerrit hook
to the front of our tests to verify the script arguments.
Change-Id: I38c831bf7c9d399419a598d6966e48166d31ea6f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87369
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de >
2020-02-01 04:14:09 +01:00
Miklos Vajna
cac5ce6de0
git hooks: update the change-id part of commit-msg
...
To the up to date version that is set up by e.g. 'git review -s' from
gerrit.libreoffice.org. Should help with \c in commit messages.
Change-Id: I42508f6f5bbb6fa70357694fcc820ed9a22f3b0e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87347
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de >
Tested-by: Jan-Marek Glogowski <glogow@fbihome.de >
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com >
2020-01-24 21:05:58 +01:00
Stephan Bergmann
8eb8d64fa1
Don't count terminating newline when determining line length
...
Change-Id: I3a5d306f32697e160f008e73de38fc53f2f1dbda
Reviewed-on: https://gerrit.libreoffice.org/84349
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
2019-12-03 20:21:33 +01:00
Miklos Vajna
058c54d540
git-hooks: show length of first line if it's too long
...
Change-Id: I164e4308c2a3e685bbc83cfde1cae5189839075e
Reviewed-on: https://gerrit.libreoffice.org/73556
Reviewed-by: Miklos Vajna <vmiklos@collabora.com >
Tested-by: Jenkins
2019-06-05 21:34:15 +02:00
Stephan Bergmann
6cd9bc8aa4
Remove unhelpful "Check for whitespace in front of *'s" from .git-hooks
...
It was added with 60f200caa4 "git-hooks: Copy them
from the build repo", but I don't see its purpose, and it caused trouble for me
now when trying to commit <https://gerrit.libreoffice.org/67672 > "Merge in
Flatpak improvements".
Change-Id: I922b5be87549793466f99db8b12be6081e683292
Reviewed-on: https://gerrit.libreoffice.org/67674
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
2019-02-13 10:24:26 +01:00
Tor Lillqvist
a0b34f97ef
Restore .git-hooks/commit-msg accidentally removed earlier
...
(Removed in a06954bf5b100c9433b4e1dbcdcf8ab2df2763a1.)
Change-Id: Ieec84ecb9863c490786e4c195b8e6a838c0712a0
Reviewed-on: https://gerrit.libreoffice.org/54662
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de >
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de >
2018-05-22 11:48:59 +02:00
Rizal Muttaqin
a06954bf5b
tdf#117342 - Add Karasa Jaga to LibreOffice core
...
Change-Id: Id121df0ddc763a299c5714cadd0d61740876e3d6
Reviewed-on: https://gerrit.libreoffice.org/54512
Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com >
Tested-by: Heiko Tietze <tietze.heiko@gmail.com >
2018-05-22 10:38:59 +02:00
Miklos Vajna
2c1e951240
git-hooks: recognize multiple bug ids
...
Change-Id: I6ef51a8ec3215f331d2671074be17f68aa6cd1ce
2015-02-13 13:42:34 +01:00
Miklos Vajna
8c5e878529
git hooks: reject suspicious fdo references
...
Change-Id: If2302adb662bd2b0d32bacdf9cdc3c0278b86de8
2015-02-12 20:29:42 +01:00
Luboš Luňák
b3553246c6
grep actually doesn't normally know \t, but [:blank:] is [ \t]
...
Change-Id: Ie9bf8ea60f1c0595aa3ac2e0f9b3e6505af30e6c
2013-03-01 19:37:38 +01:00
Luboš Luňák
86b49aa44e
warn about commit messages with accidental comments
...
The comment provided by git starts lines with '# ' (space or tab),
so warn if a line starts with # not followed by a space. It's most
likely something like '#ifdef UNX' or AOO's '#i103131#'. We already
have commits where git silently stripped off such lines.
Change-Id: Ic366d8ee64207edb8bb2fb1ef3a6a192f55872d8
2013-03-01 19:37:34 +01:00
Norbert Thiebaud
9152c42a65
submodules migration
...
Change-Id: Ib3e472a4b1abf880f695be7a6667393d6a82f10d
2012-10-16 11:28:26 -05:00