git-sync/test_sync_hook_command.sh

7 lines
181 B
Bash
Executable File

#!/bin/sh
# Use for e2e test of --sync-hook-command.
# This option takes no command arguments, so requires a wrapper script.
cat file > sync-hook
cat ../link/file > link-sync-hook