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

Re: gitweb.cgi history not shown

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Jun 11, 2006, 06:32 UTC
Message-ID
<e5bfff550606102332v6afb7d51m43ad5d74ba226cf0@mail.gmail.com>
In-Reply-To
<Pine.LNX.4.64.0606102248360.5498@g5.osdl.org>
Show 9 quoted lines
>
> Now, look what happens if you instead of starting the history search from
> all the _current_ heads, you start it from a location that actually _had_
> that file:
>
>         git log 1130ef362fc8d9c3422c23f5d5 -- gitweb.cgi
>
> and suddenly there the history is - in all its glory.
>
Why I still get empty results if I run git-rev-list from gitweb merge point?

$ git-rev-list 0a8f4f0020cb35095005852c0797f0b90e9ebb74 -- gitweb.cgi $ $ git-rev-list 0a8f4f0020cb35095005852c0797f0b90e9ebb74 -- gitweb/gitweb.cgi 0a8f4f0020cb35095005852c0797f0b90e9ebb74

Is this because path changed: gitweb.cgi -> gitweb/gitweb.cgi

I would like to think the problem is the path change because in case of gitk, merge of a parallel branch but with _no_ path change, everything worked as expected.

So the question is the path change was "fixed up" by hand or done as part of gitweb branch merge process, in the latter case probably git-rev-list should already take in account this without special flags _and_ without removing history traversal optimizations that are good and useful in the remaining 99% of cases (for a GUI tool is difficult to know when to use a flag like --no-simplify-merge or not on a per request basis).

        Marco
Previous: Linus TorvaldsNext: Linus Torvalds
Message 3 of 8 in “gitweb.cgi history not shown”
  1. Marco CostalbaJun 11, 2006
  2. Linus TorvaldsJun 11, 2006
  3. Marco CostalbaJun 11, 2006
  4. Linus TorvaldsJun 11, 2006
  5. Linus TorvaldsJun 11, 2006
  6. Linus TorvaldsJun 11, 2006
  7. Jakub NarebskiJun 11, 2006
  8. Linus TorvaldsJun 11, 2006

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.