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

Re: test -L usage

From
Bruce Momjian <bruce@momjian.us>
Date
Sep 22, 2010, 00:37 UTC
Message-ID
<201009220037.o8M0bUT29845@momjian.us>
In-Reply-To
<20100922003559.GB23931@sigill.intra.peff.net>
Jeff King wrote:
Show 9 quoted lines
> On Tue, Sep 21, 2010 at 08:11:15PM -0400, Bruce Momjian wrote:
> 
> > git-1.7.3/contrib/workdir/git-new-workdir uses 'test -L' to test for
> > symlinks.  I suggest using 'test -h' because it is more portable, and
> > would have avoided a problem on my BSD machine.
> 
> Yeah, we generally do, but the stuff in contrib/ doesn't get exercised
> as much. There are also a few occurences in the svn tests. All cleaned
> up with the patch below.
Thanks.
-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +
Previous: Jeff King
Message 3 of 3 in “test -L usage”
  1. Bruce MomjianSep 22, 2010
  2. Jeff KingSep 22, 2010
  3. Bruce MomjianSep 22, 2010

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.