so that 'status' and 'status -s' in a subdir produce the same file names. Signed-off-by: Michael J Gruber <git@xxxxxxxxxxxxxxxxxxxx> --- Anything else would be highly surprising. Note that the porcelain case is unchanged, of course. builtin-commit.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/builtin-commit.c b/builtin-commit.c index 7f888fe..c103beb 100644 --- a/builtin-commit.c +++ b/builtin-commit.c @@ -1113,6 +1113,8 @@ int cmd_status(int argc, const char **argv, const char *prefix) switch (status_format) { case STATUS_FORMAT_SHORT: + if (s.relative_paths) + s.prefix = prefix; short_print(&s, null_termination); break; case STATUS_FORMAT_PORCELAIN: -- 1.6.6.rc0.274.g71380 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html