Subject: Re: [PATCH v3] builtin/pull.c: teach run_merge() to honor rebase.autostash config

From: Junio C Hamano <[email-masked]>
Date: Thu, 06 Jan 2022 10:31:04 -0800

Taylor Blau <[email-masked]> writes:

>> +	git clone src dst &&
>> +	test_commit -C src --printf "more_content" file "more content\ncontent\n" &&
>
> Same note here, but I think the `--printf` is unnecessary. Running
> `echo` with "\n" characters in its argument is fine, so this could be
> shortened to:
>
>     test_commit -C src blah file "more\ncontent"

Is that true for everybody's shell, or just dash?

$ bash -c 'echo "a\nb\nc"'
a\nb\nc
$ dash -c 'echo "a\nb\nc"'
a
b
c