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

Re: [PATCH] Git.pm: let a "false" Directory parameter (such as "0") be used correctly by the constructor"

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 1, 2009, 21:00 UTC
Message-ID
<7vwsdeivx9.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1230510300-7854-1-git-send-email-book@cpan.org>
"Philippe Bruhat (BooK)" <book@cpan.org> writes:
> ---
>  perl/Git.pm |    7 ++++---
>  1 files changed, 4 insertions(+), 3 deletions(-)

Lacks sign-off and description but otherwise looks good. Will queue to 'pu' to leave you a chance to re-send.

    commit b29b1ae7442cd7c1c78e38b7d980905944ec31e0
    Author: Philippe Bruhat (BooK) <book@cpan.org>
    Date:   Mon Dec 29 01:25:00 2008 +0100
        Git.pm: correctly handle directory name that evaluates to "false"
        The repository constructor mistakenly rewrote a Directory parameter that
        Perl happens to evaluate to false (e.g. "0") to ".".
Thanks.
Previous: Philippe Bruhat (BooK)Next: Philippe Bruhat (BooK)
Message 2 of 3 in “Git.pm: let a "false" Directory parameter (such as "0") be used correctly by the constructor"”
  1. Git.pm: let a "false" Directory parameter (such as "0") be used correctly by the constructor"Philippe Bruhat (BooK), Dec 29, 2008
  2. Junio C HamanoJan 1, 2009
  3. Philippe Bruhat (BooK)Jan 2, 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.