Re: .gitignore files, take two - Mailing list pgsql-hackers

From Robert Haas
Subject Re: .gitignore files, take two
Date
Msg-id 827C0BFC-3FC8-4140-9041-FB6645491A98@gmail.com
Whole thread Raw
In response to Re: .gitignore files, take two  (Gurjeet Singh <singh.gurjeet@gmail.com>)
List pgsql-hackers
On Oct 10, 2010, at 12:57 AM, Gurjeet Singh <singh.gurjeet@gmail.com> wrote:
On Tue, Sep 21, 2010 at 12:55 AM, Robert Haas <robertmhaas@gmail.com> wrote:
All the build products in a normal build.  One of the infelicities of
git is that 'git status' shows the untracked files at the bottom.  So
if you have lots of unignored stuff floating around, the information
about which files you've actually changed or added to the index
scrolls right off the screen.

I have just started to read the thread, so don't know if somebody already chimed in.

You can avoid the above situation by adding the folowing to ~/.gitconfig or .git/config

[pager]
    status = true

I think I used `git config` command for this, but adding by hand would also do.

Oh, dude.  Awesome.

...Robert

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Debugging initdb breakage
Next
From: Tom Lane
Date:
Subject: Re: Debugging initdb breakage