]> rtime.felk.cvut.cz Git - git.git/commit
git-status documentation: mention subdirectory behaviour
authorJunio C Hamano <gitster@pobox.com>
Thu, 6 Dec 2007 17:15:39 +0000 (09:15 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Dec 2007 17:15:39 +0000 (09:15 -0800)
commitc7860507f0b8974359616d7047f76f1723843156
treef7f11bb7827a2306104341caafb4734bb92fef02
parentc6bc40058565fef3ec79840bf5e13ba0962cb3e4
git-status documentation: mention subdirectory behaviour

Consistently with all other diff oriented commands, we have given paths
relative to the work tree root in git-status output for a long time.
This documents the recent behaviour change, as people's eyes (and worse
yet, scripts, although scripts should not parse "git status" output) may
depend on the old behaviour.

In the longer run, giving a --full-name option to git-diff Porcelain
similar to what ls-files has, and change the default for git-diff
Porcelain to show relative paths may be a good thing to do, in order to
hide the oddballness of this git-status behaviour, but that would have a
rather large impact to established expectation by existing users.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-status.txt