Adds a --fastsync-server-path flag to specify the path/name of the fastsync-server binary on the remote machine, so it does not need to be in the remote user's $PATH.
Changes:
config.h: Added char* fastsync_server_path field to Config struct
config.c: Initialize to NULL, free in config_delete()
transport_ssh.h: Added server_path param to client_connect_ssh()
transport_ssh.c: Use configured path, fall back to "fastsync-server"
client_cli.c: Parse --fastsync-server-path flag, show in help
client_send.c: Pass fastsync_server_path to client_connect_ssh()
tests/test_transport_ssh.c: Pass NULL for new param
If not specified, defaults to fastsync-server (current behavior).
Adds a `--fastsync-server-path` flag to specify the path/name of the `fastsync-server` binary on the remote machine, so it does not need to be in the remote user's $PATH.
### Changes:
- **config.h**: Added `char* fastsync_server_path` field to `Config` struct
- **config.c**: Initialize to NULL, free in `config_delete()`
- **transport_ssh.h**: Added `server_path` param to `client_connect_ssh()`
- **transport_ssh.c**: Use configured path, fall back to `"fastsync-server"`
- **client_cli.c**: Parse `--fastsync-server-path` flag, show in help
- **client_send.c**: Pass `fastsync_server_path` to `client_connect_ssh()`
- **tests/test_transport_ssh.c**: Pass NULL for new param
### Usage:
```
fastsync --fastsync-server-path ~/bin/fastsync-server user@host:/remote/path /local/source
```
If not specified, defaults to `fastsync-server` (current behavior).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds a
--fastsync-server-pathflag to specify the path/name of thefastsync-serverbinary on the remote machine, so it does not need to be in the remote user's $PATH.Changes:
char* fastsync_server_pathfield toConfigstructconfig_delete()server_pathparam toclient_connect_ssh()"fastsync-server"--fastsync-server-pathflag, show in helpfastsync_server_pathtoclient_connect_ssh()Usage:
If not specified, defaults to
fastsync-server(current behavior).9443db8db8to7a4def84117a4def8411to30239c6f50