Respect column.ui in commented status in git-commit
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | column.c: pass column_options to down to display_plaincolumn.c | +6 | 0 replies | |
| 2/3 | column: allow for custom printfcolumn.c column.h | +11 | 2 replies | |
| 3/3 | WIP - Allow custom printf function for column printingbuiltin/ wt-status.c | +24 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Respect column.ui in commented status in git-commit
When studying the code, I was nerd-sniped by the commit message of 4d2292e9a9 (status: refactor colopts handling, 2012-05-07)
as I did not understand why it was so important to reset the s.colopts to 0 in builtin/commit.c.
In my adolescent hybris I nearly sent out a patch claiming that line to be useless and wrong, but then I studied a bit more. After the background story became clear, I decided to "just write the missing piece", how hard can it be?
I would consider the following three patches a hack, but they work. You can have untracked files in column mode in the commented text for a commit.
Thanks,
Stefan
Stefan Beller (3):
column.c: pass column_options to down to display_plain
column: allow for custom printf
WIP - Allow custom printf function for column printing
builtin/commit.c | 1 - column.c | 21 +++++++++++++-------- column.h | 3 +++ wt-status.c | 29 ++++++++++++++++++++++++----- 4 files changed, 40 insertions(+), 14 deletions(-)
Signature · 1 line
2.12.2.511.g2abb8caf66