mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-09 17:09:26 +02:00
[Dev] Fixed lefthook to no longer reset submodules on file checkouts
https://github.com/pagefaultgames/pokerogue/pull/6113
This commit is contained in:
parent
a81e187164
commit
626eb3da87
@ -15,4 +15,6 @@ post-merge:
|
|||||||
post-checkout:
|
post-checkout:
|
||||||
commands:
|
commands:
|
||||||
update-submodules:
|
update-submodules:
|
||||||
run: git submodule update --init --recursive
|
# cf https://git-scm.com/docs/githooks#_post_checkout:
|
||||||
|
# The 3rd argument is 1 for branch checkouts and 0 for file checkouts.
|
||||||
|
run: if test {3} -eq "1"; then git submodule update --init --recursive; fi
|
Loading…
Reference in New Issue
Block a user