]> git.ipfire.org Git - thirdparty/git.git/commit - builtin.h
Add column layout skeleton and git-column
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 21 Apr 2012 04:44:32 +0000 (11:44 +0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Apr 2012 16:26:37 +0000 (09:26 -0700)
commit7e29b8254f08af820b2f0c3770836638ffe517ab
treea30cbc7e6997728a87f15093b13da82738a9dc91
parentb082687cbac951d31bdea346404db5d0b99a0b73
Add column layout skeleton and git-column

A column option string consists of many token separated by either
a space or a  comma. A token belongs to one of three groups:

 - enabling: always, never and auto
 - layout mode: currently plain (which does not layout at all)
 - other future tuning flags

git-column can be used to pipe output to from a command that wants
column layout, but not to mess with its own output code. Simpler output
code can be changed to use column layout code directly.

Thanks-to: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
12 files changed:
.gitignore
Documentation/config.txt
Documentation/git-column.txt [new file with mode: 0644]
Makefile
builtin.h
builtin/column.c [new file with mode: 0644]
column.c [new file with mode: 0644]
column.h [new file with mode: 0644]
command-list.txt
git.c
parse-options.h
t/t9002-column.sh [new file with mode: 0755]