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

Re: git-diff not showing changes (corrupt repo?)

From
Jeff King <peff@peff.net>
Date
Oct 3, 2007, 03:23 UTC
Message-ID
<20071003032331.GA11638@coredump.intra.peff.net>
In-Reply-To
<470309D5.702@gmail.com>
On Tue, Oct 02, 2007 at 10:17:41PM -0500, Dan Zwell wrote:
Show 6 quoted lines
> e88ee2915493213ea0d0be64c542c090fefd4b33 is first bad commit
> commit e88ee2915493213ea0d0be64c542c090fefd4b33
> Author: Martin Waitz <tali@admingilde.org>
> Date:   Tue Oct 10 21:16:25 2006 +0200
>
>     paginate git-diff by default

The only thing this patch does is run the pager, so presumably git-diff _is_ generating output, but calling the pager is broken for some reason. What is the value of $GIT_PAGER and $PAGER on the broken and working machines? Can you confirm that the pager works on both machines?

Show 5 quoted lines
> I discovered this problem on my 64 bit machine, but the problem does not 
> occur on my 32 bit machine. That is not the only difference between the two 
> computers, but it seems the most obvious culprit. The 64 bit machine may 
> have different libraries than the other, as they are running different 
> distros.

I couldn't reproduce on my 32-bit or 64-bit machine (the former running Debian unstable, the latter Debian stable). But given the patch you bisected to, I think it is more likely that your pager is broken on the 64-bit machine.

-Peff
Previous: Dan ZwellNext: Dan Zwell
Message 4 of 8 in “git-diff not showing changes (corrupt repo?)”
  1. Dan ZwellOct 2, 2007
  2. Junio C HamanoOct 2, 2007
  3. Dan ZwellOct 3, 2007
  4. Jeff KingOct 3, 2007
  5. Dan ZwellOct 3, 2007
  6. Jeff KingOct 3, 2007
  7. Linus TorvaldsOct 3, 2007
  8. Jeff KingOct 2, 2007

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.