git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Christian Couder
Message 6 of 6 in “Documentation: bisect: add a few "git bisect run" examples”
  1. 2/2 Documentation: bisect: add a few "git bisect run" examplesChristian Couder, May 7, 2008
  2. Junio C HamanoMay 7, 2008
  3. Matthieu MoyMay 7, 2008
  4. Miklos VajnaMay 7, 2008
  5. Christian CouderMay 7, 2008
  6. Jon LoeligerMay 7, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.