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

Re: [PATCH (BUGFIX)] gitweb: Fix "Use of uninitialized value" error in 'history' view

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 5, 2008, 07:51 UTC
Message-ID
<7v63uwyc14.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<200804041623.44595.jnareb@gmail.com>
Jakub Narebski <jnareb@gmail.com> writes:
Show 6 quoted lines
> When asked for history of a file with no $hash ('h') parameter set,
> and which file is not present in current branch ("HEAD" or given by
> $hash_hase ('hb') parameter), but is present deeper in the full
> history of a branch, gitweb would spew multiple of "Use of
> uninitialized value" warnings, and some links would be missing.
> This commit fixes this bug.
Thanks, does gitweb itself generate such a link?

I can _artificially_ reproduce this, and I can also see that the patch would solve it, so I do not mind applying it, but I am curious how this was originally triggered.

Previous: Jakub NarebskiNext: Jakub Narebski
Message 2 of 8 in “gitweb: Fix "Use of uninitialized value" error in 'history' view”
  1. gitweb: Fix "Use of uninitialized value" error in 'history' viewJakub Narebski, Apr 4, 2008
  2. Junio C HamanoApr 5, 2008
  3. Jakub NarebskiApr 5, 2008
  4. Gerrit PapeApr 5, 2008
  5. Jakub NarebskiApr 5, 2008
  6. Jakub NarebskiApr 5, 2008
  7. Revert "gitweb: Add 'status_str' to parse_difftree_raw_line output"Jakub Narebski, Apr 5, 2008
  8. Gerrit PapeApr 6, 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.