Skip to content

status -s: Use the same config as status

Michael J Gruber git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2status -s: respect the status.relativePaths optionbuiltin-commit.c+2 -02 replies
2/2status -s: obey color.statusbuiltin-commit.c wt-status.c wt-status.h+17 -69 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC/PATCH 0/2] status -s: Use the same config as status

This mini series is an RFC for bringing the short version of status in line with the longer one. They already both obey status.showUntrackedFiles. Currently, status -s does not obey status.relativePaths nor color.status.

I think status should follow the priniciple of least surprise here in the sense that -s should not change other aspects of the output (although it is very different internally).

I think we don't have any tests for status -s yet, which is one reason why this is an RFC: I don't expect to get through with it, like the introducer of status -s did ;) Another reason is mentioned in 2/2.

Michael J Gruber (2):
status -s: respect the status.relativePaths option status -s: obey color.status

 builtin-commit.c |   22 +++++++++++++++++-----
 wt-status.c      |    2 +-
 wt-status.h      |    1 +
 3 files changed, 19 insertions(+), 6 deletions(-)