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

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

From
DZDan Zwell <dzwell@gmail.com>
Date
Oct 3, 2007, 04:00 UTC
Message-ID
<470313D0.7020808@gmail.com>
In-Reply-To
<20071003032331.GA11638@coredump.intra.peff.net>
Jeff King wrote:
 > On Tue, Oct 02, 2007 at 10:17:41PM -0500, Dan Zwell wrote:
 >
 >> 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?
 >

You're absolutely right, my pager was being called and exiting. My system configuration must be dodgy, because "echo hi | less --quit-if-one-screen" does not display anything unless it in run in "screen". But that's not git's fault, and I just need different options, for now. Thanks a lot for helping me solve this.

Dan
 >
 > -Peff
 >
Previous: Jeff KingNext: Jeff King
Message 5 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.