Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2574,6 +2574,13 @@ OPTIONS
-?, -h, --help
Print help text and exit.

--hooks-async, $GITSYNC_HOOKS_ASYNC
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also need to update the manual in README.md

Whether to run the --exechook-command asynchronously.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exec and web


--hooks-before-symlink, $GITSYNC_HOOKS_BEFORE_SYMLINK
Whether to run the --exechook-command before updating the symlink. Use in combination with --hooks-async set
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exec and web

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

linewrap to 80 please

to false if you need the hook to finish before the symlink is updated.

--http-bind <string>, $GITSYNC_HTTP_BIND
The bind address (including port) for git-sync's HTTP endpoint.
The '/' URL of this endpoint is suitable for Kubernetes startup and
Expand Down
3 changes: 2 additions & 1 deletion test_e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3846,7 +3846,8 @@ for t; do
fi
remove_containers || true
run=$((run+1))
done if [[ "$test_ret" != 0 ]]; then
done
if [[ "$test_ret" != 0 ]]; then
final_ret=1
failures+=("$t (log: ${log}.*)")
fi
Expand Down