Skip to content

Commit 3e79791

Browse files
committed
fix submodule post-checkout hook
1 parent d5e7517 commit 3e79791

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.githooks/post-checkout

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#!/bin/sh
2-
if [ "$3" = "1" ]; then
3-
echo "Updating submodules..."
4-
git submodule update --init --recursive
5-
fi
1+
#!/usr/bin/env bash
62

3+
git submodule update --init --recursive

0 commit comments

Comments
 (0)