Skip to content

Commit

Permalink
allow running arbritrary command using --
Browse files Browse the repository at this point in the history
  • Loading branch information
rucciva committed Jun 22, 2024
1 parent 7ab1e05 commit 2a9a40d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ git config --global credential.helper '!f() {
echo "password=${GIT_PASSWORD}";
}; f'

if [ "--" == "${1:-""}" ]; then
exec $@
fi

exec git $@

0 comments on commit 2a9a40d

Please sign in to comment.