Remove now-obsolete flag from struct

This was changed to the more general `exechook`, but must have been
missed.
This commit is contained in:
Tim Hockin 2022-08-21 10:47:18 -07:00
parent 12a1d1e298
commit cdd6980782
1 changed files with 28 additions and 30 deletions

View File

@ -276,7 +276,6 @@ type repoSync struct {
link string // the name of the symlink to publish under `root` link string // the name of the symlink to publish under `root`
authURL string // a URL to re-fetch credentials, or "" authURL string // a URL to re-fetch credentials, or ""
sparseFile string // path to a sparse-checkout file sparseFile string // path to a sparse-checkout file
syncHookCmd string // command to run after each sync
log *logging.Logger log *logging.Logger
run *cmd.Runner run *cmd.Runner
} }
@ -484,7 +483,6 @@ func main() {
link: absLink, link: absLink,
authURL: *flAskPassURL, authURL: *flAskPassURL,
sparseFile: *flSparseCheckoutFile, sparseFile: *flSparseCheckoutFile,
syncHookCmd: *flSyncHookCommand,
log: log, log: log,
run: cmdRunner, run: cmdRunner,
} }