Re: [PATCH/RFC 0/7] Column output
- From
Jeff King <peff@peff.net>
- Date
- Feb 8, 2011, 22:47 UTC
- Message-ID
- <20110208224745.GA14190@sigill.intra.peff.net>
- In-Reply-To
- <1297178541-31124-1-git-send-email-pclouds@gmail.com>
On Tue, Feb 08, 2011 at 10:22:14PM +0700, Nguyễn Thái Ngọc Duy wrote:
> In short, the series is very simple: give porcelain commands column > output, just like good old "ls". There could be a few more candidates, > I believe René Scharfe mentioned other files in "git status".
I don't really care for column output myself, so maybe you have a good reason why my idea won't work. But why not use the BSD column program? I.e.:
git config pager.tag column git config pager.branch column
True it will use "column" no matter whether the specific branch or tag operation produces a lot of output or not, but in general that should be OK. Most "action" commands like "tag -d" or "branch new old" just produce one line of output and look fine piped through column.
-Peff