Re: [PATCH 2/2] Documentation: bisect: add a few "git bisect run" examples
- From
Jon Loeliger <jdl@freescale.com>
- Date
- May 7, 2008, 16:09 UTC
- Message-ID
- <1210176560.6102.9.camel@ld0161-tx32>
- In-Reply-To
- <vpqlk2mbpao.fsf@bauges.imag.fr>
On Wed, 2008-05-07 at 08:29 +0200, Matthieu Moy wrote:
Show 16 quoted lines
> Junio C Hamano <gitster@pobox.com> writes: > > >> +------------ > >> +echo "#"\!"/bin/sh" > ~/test.sh > >> +echo "make install || exit 125" >> ~/test.sh > >> +echo "~/check_test_case.sh" >> ~/test.sh > >> +chmod u+x ~/test.sh > > > > s/install//; let's not set a bad example of installing first and then > > testing. > > Perhaps also s/~/./g, since it's not a good idea to put temporary > files in $HOME IMHO. > > Also, using simple quotes instead of double would simplify the > "#"\!"/bin/sh".
Hmm. I would have just done "$ cat ~/test.sh" and then shown the file listing directly.
jdl