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

Re: Log is always empty in OSX

From
Johannes Sixt <j6t@kdbg.org>
Date
May 27, 2011, 20:28 UTC
Message-ID
<4DE0097E.6020601@kdbg.org>
In-Reply-To
<BANLkTim4iBtNPm65vTiJYyA4csTHu9gd2g@mail.gmail.com>
Am 27.05.2011 21:38, schrieb Diego Gonzalez:
Show 19 quoted lines
> Hi guys,
> I'm using GIT in a specific folder on OSX and I'm not able to get any
> output from the git log command, do you know what it means? Is this a
> bug or just some missconfiguration. I've installed through Homebrew.
> 
> $uname -a
> Darwin Diego-Gonzalezs-MacBook-Pro.local 10.7.0 Darwin Kernel Version
> 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/
> RELEASE_I386 i386
> $ git version
> git version 1.7.5.2
> $ git log
> $ git commit -a -m "message"
> [master 445dab2] message
>  2 files changed, 1 insertions(+), 23 deletions(-)
>  mode change 100644 => 100755 c
>  delete mode 100644 ur.js
> $ git log
> $

Do you happen to have the environment variable LESS set to a combination of options such that less terminates when it does not get a screenfull of data to show? In this case, less would switch to the alternate screen, shows the data, and before it terminates, it switches back to the primary screen.

Try git --no-pager log; I bet it shows output.
-- Hannes
Previous: Diego Gonzalez
Message 2 of 2 in “Log is always empty in OSX”
  1. Diego GonzalezMay 27, 2011
  2. Johannes SixtMay 27, 2011

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.