Re: [PATCH 11/12] fsmonitor: test updates
On Sun, Oct 09 2022, Eric DeCosta via GitGitGadget wrote:
> From: Eric DeCosta <edecosta@mathworks.com>
Show 6 quoted lines
> +wait_for_update () {
> + func=$1 &&
> + file=$2 &&
> + sz=$(wc -c < "$file") &&
> + last=0 &&
> + $func &&Odd not to quote "$func" here, but anyway...
> +rename_directory () {
> + mv dirtorename dirrenamed
> +}...uh, we need to wrap "mv"? Why?
> - mv dirtorename dirrenamed &&
> + wait_for_update rename_directory "$PWD/.git/trace" &&
Just to get around some quoting issue here?