Re: Log is always empty in OSX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]