From: Junio C Hamano Date: Thu, 24 Jul 2014 16:41:15 GMT Subject: Re: [PATCH 3/7] add a test for semantic errors in config files Message-ID: In-Reply-To: Matthieu Moy writes: > Tanay Abhra writes: > >>>>> + test_when_finished "mv .git/config.old .git/config" && >>>>> + echo "[alias]\n br" >.git/config && >>> >>> Is the use of \n portable? >>> >> >> Yes, you are right, will replace with printf in the next patch. > > ... or a cat >.git/config <<\EOF, since this is the construct used > elsewhere in the script. That sounds much better ;-) Thanks.