From f67669662b3f17c10421be0b8e81642d1dbfac1a Mon Sep 17 00:00:00 2001 From: ChrisERo Date: Mon, 10 Jan 2022 18:48:23 -0500 Subject: [PATCH] fix: corrected comment for hook channels to refflect true functionality --- cmd/git-sync/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/git-sync/main.go b/cmd/git-sync/main.go index a8bde93..05d909f 100644 --- a/cmd/git-sync/main.go +++ b/cmd/git-sync/main.go @@ -174,7 +174,7 @@ var ( }, []string{"status"}) ) -// Channels for ensuring hooks execute at least once before terminating. +// Channels for ensuring hooks execute at least once before terminating when --one-time flag is set. // Should be nil if and only if corresponding hook is not defined and if initialised, will only every get written // to once. var exechookChannel, webhookChannel chan bool