Re: [PATCH v6 00/11] Column display
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Feb 27, 2012, 00:40 UTC
- Message-ID
- <CACsJy8AyZcNSPEY8S0WczVu0ychGKr61BoBm0iy39ZsVM=zHpA@mail.gmail.com>
- In-Reply-To
- <7vaa45dwq7.fsf@alter.siamese.dyndns.org>
2012/2/27 Junio C Hamano <gitster@pobox.com>:
Show 7 quoted lines
> But I am very much reluctant to see us adding a "git column" subcommand; I > cannot justify it myself because what it does is even less connected to > git than the "--no-index" mode of grep/diff commands, i.e. it does not > have much to do with "Git, the version control system". > > Shouldn't it be "test-column" that is useful during the hacking, much like > "test-date", "test-chmtime", and "test_credential"?
It used to be test-column. But we would need an external program to pipe through to minimize changing display code, especially when display code can get complicated (e.g. git-tag for example). The other reason is to get column display even when the command does not support it (e.g. GIT_PAGER="git column" git diff --name-status HEAD~10)
-- Duy