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

Re: [PATCH] add -p: get rid of Git.pm warnings about unitialized values

From
Thomas Rast <trast@student.ethz.ch>
Date
Feb 8, 2009, 18:01 UTC
Message-ID
<200902081901.44974.trast@student.ethz.ch>
In-Reply-To
<1234114839-11958-1-git-send-email-s-beyer@gmx.net>
Stephan Beyer wrote:
> After invoking git add -p I always got the warnings:
> 
>  Use of uninitialized value $_[3] in exec at Git.pm line 1282.
>  Use of uninitialized value $args[2] in join or string at Git.pm line 1264.
[...]
> -	my $help_color_spec = $repo->config('color.interactive.help');
> +	my $help_color_spec = ($repo->config('color.interactive.help') or
> +				'red bold');
Acked-By: Thomas Rast <trast@student.ethz.ch>
Thanks for spotting this.
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Stephan Beyer
Message 2 of 2 in “add -p: get rid of Git.pm warnings about unitialized values”
  1. add -p: get rid of Git.pm warnings about unitialized valuesStephan Beyer, Feb 8, 2009
  2. Thomas RastFeb 8, 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.