aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-status.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2007-12-07 16:26:07 -0500
committerJunio C Hamano <gitster@pobox.com>2007-12-08 03:33:24 -0800
commit46f721c8fee9f1c027f96e2bf987ce6e7d05ab94 (patch)
treecc538c99132ea4dad626b5b26e7fb576d72b38c0 /Documentation/git-status.txt
parentc3ce3261281d00bcdd59907e76f421034ccb1261 (diff)
downloadgit-46f721c8fee9f1c027f96e2bf987ce6e7d05ab94.tar.gz
add status.relativePaths config variable
The output of git-status was recently changed to output relative paths. Setting this variable to false restores the old behavior for any old-timers that prefer it. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-status.txt')
-rw-r--r--Documentation/git-status.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/git-status.txt b/Documentation/git-status.txt
index b0cb6bc8b7..645dc85ceb 100644
--- a/Documentation/git-status.txt
+++ b/Documentation/git-status.txt
@@ -42,7 +42,8 @@ template comments, and all the output lines are prefixed with '#'.
The paths mentioned in the output, unlike many other git commands, are
made relative to the current directory, if you are working in a
-subdirectory (this is on purpose, to help cutting and pasting).
+subdirectory (this is on purpose, to help cutting and pasting). See
+the status.relativePaths config option below.
CONFIGURATION
@@ -53,6 +54,10 @@ mean the same thing and the latter is kept for backward
compatibility) and `color.status.<slot>` configuration variables
to colorize its output.
+If the config variable `status.relativePaths` is set to false, then all
+paths shown are relative to the repository root, not to the current
+directory.
+
See Also
--------
gitlink:gitignore[5]