git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Sixt <j6t@kdbg.org>
To: Diego Gonzalez <diegog.lagash@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Log is always empty in OSX
Date: Fri, 27 May 2011 22:28:46 +0200	[thread overview]
Message-ID: <4DE0097E.6020601@kdbg.org> (raw)
In-Reply-To: <BANLkTim4iBtNPm65vTiJYyA4csTHu9gd2g@mail.gmail.com>

Am 27.05.2011 21:38, schrieb Diego Gonzalez:
> 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

      reply	other threads:[~2011-05-27 20:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-27 19:38 Log is always empty in OSX Diego Gonzalez
2011-05-27 20:28 ` Johannes Sixt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DE0097E.6020601@kdbg.org \
    --to=j6t@kdbg.org \
    --cc=diegog.lagash@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).