Fix: Pass through parameters to git-c

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-11-19 16:48:41 +01:00
parent 1ca4700040
commit e6792b2ba2
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -6,4 +6,4 @@ source ${HOME}/bin/script_framework.sh
commit=$(git log master..HEAD --oneline | grep -v 'fixup!' | head -n1)
step "Doing fixup against commit: ${commit}"
exec git c --fixup $(echo "${commit}" | cut -d ' ' -f 1)
exec git c --fixup $(echo "${commit}" | cut -d ' ' -f 1) "$@"