mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-11 16:16:28 -04:00
Fix the check_for_fixups.sh script again (#5590)
Our most recent change to the script (58309b02a9) broke it because the
anchored regex's no longer match the beginning of the subject. Fix this
by omitting the hash, which is a bit unfortunate but probably acceptable
(I rarely look at the output of the script anyway).
This commit is contained in:
commit
e1dff3ffa7
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# We will have only done a shallow clone, so the git log will consist only of
|
||||
# commits on the current PR
|
||||
commits=$(git log --format="%h %s" | egrep '(^fixup!|^squash!|^amend!|WIP|DROPME)')
|
||||
commits=$(git log --format="%s" | egrep '(^fixup!|^squash!|^amend!|WIP|DROPME)')
|
||||
|
||||
if [ -z "$commits" ]; then
|
||||
echo "No fixup commits found."
|
||||
|
|
|
|||
Loading…
Reference in a new issue