Skip to content

Commit fcbb1d1

Browse files
committed
update man
1 parent 7d51865 commit fcbb1d1

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

main.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2574,6 +2574,13 @@ OPTIONS
25742574
-?, -h, --help
25752575
Print help text and exit.
25762576
2577+
--hooks-async, $GITSYNC_HOOKS_ASYNC
2578+
Whether to run the --exechook-command asynchronously.
2579+
2580+
--hooks-before-symlink, $GITSYNC_HOOKS_BEFORE_SYMLINK
2581+
Whether to run the --exechook-command before updating the symlink. Use in combination with --hooks-async set
2582+
to false if you need the hook to finish before the symlink is updated.
2583+
25772584
--http-bind <string>, $GITSYNC_HTTP_BIND
25782585
The bind address (including port) for git-sync's HTTP endpoint.
25792586
The '/' URL of this endpoint is suitable for Kubernetes startup and

test_e2e.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3846,7 +3846,8 @@ for t; do
38463846
fi
38473847
remove_containers || true
38483848
run=$((run+1))
3849-
done if [[ "$test_ret" != 0 ]]; then
3849+
done
3850+
if [[ "$test_ret" != 0 ]]; then
38503851
final_ret=1
38513852
failures+=("$t (log: ${log}.*)")
38523853
fi

0 commit comments

Comments
 (0)