Re: git diff --name-status does not always list changed files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 28, 2008, 21:42 UTC
- Message-ID
- <7vejawhi6a.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <bdca99240802281323x1ec904ddq914ac2c484e7c468@mail.gmail.com>
"Sebastian Schuberth" <sschuberth@gmail.com> writes:
Show 14 quoted lines
> Junio C Hamano wrote: > >> Doesn't reproduce for me. >> >> $ rm -fr /var/tmp/j && mkdir -p /var/tmp/j && cd /var/tmp/j >> $ git init >> Initialized empty Git repository in .git/ > > Can you reproduce it if you do > > $ git config core.pager "less -F" > > after "git init"? The "-F" seems to be important, but I'm not sure why > using this switch causes no files to be displayed in this case.
Then isn't it what you are asking "less" to do?
Try "less -FX". FYI, by default, we use "LESS=FRSX" exported unless the user knows better than us and uses something of his own.