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

Re: [PATCH] git-svn testsuite: use standard configuration for Subversion tools

From
EREygene Ryabinkin <rea-git@codelabs.ru>
Date
May 2, 2009, 10:36 UTC
Message-ID
<GzXVCxlG1vigUEGxhNBLVXNYljM@AnOk+mYbmYVORDu5SWQWxomMUcc>
In-Reply-To
<7viqkkv43t.fsf@gitster.siamese.dyndns.org>
Junio,
Fri, May 01, 2009 at 03:40:54PM -0700, Junio C Hamano wrote:
Show 5 quoted lines
> Eygene Ryabinkin <rea-git@codelabs.ru> writes:
> 
> > What are your concerns, 'local'?
> 
> Exactly.

It exists in Bash and in *BSD /bin/sh. It does not exist in Korn shell (at least, I am failing to find one). I can just remove 'local' from the function, since it plays no big role, but generally I don't like to pollute parent namespace by local variables. Certainly, if 'local' will break some known shell -- I'll refrain from using it in this script.

Do you know an example of shell that is used by Git (thus being /bin/sh in the system) and that lacks 'local' builtin?

Thanks!
-- 
Eygene
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 9 in “git-svn testsuite: use standard configuration for Subversion tools”
  1. git-svn testsuite: use standard configuration for Subversion toolsEygene Ryabinkin, May 1, 2009
  2. Junio C HamanoMay 1, 2009
  3. Eygene RyabinkinMay 1, 2009
  4. Junio C HamanoMay 1, 2009
  5. Eygene RyabinkinMay 2, 2009
  6. Junio C HamanoMay 2, 2009
  7. Eygene RyabinkinMay 4, 2009
  8. git-svn testsuite: use standard configuration for Subversion toolsEygene Ryabinkin, May 8, 2009
  9. Eric WongMay 10, 2009

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.