]> git.ipfire.org Git - thirdparty/git.git/commit - wt-status.c
git status: show relative paths when run in a subdirectory
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sun, 11 Nov 2007 17:35:41 +0000 (17:35 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Nov 2007 01:05:03 +0000 (17:05 -0800)
commit367c98866c340bc9cf5cfa88c3b69f027165fc44
tree6dc2ffcd92dc2d9a9ec1bac2e547434821dcf668
parentd37d320386369375b4e5b95b98517503125376f9
git status: show relative paths when run in a subdirectory

To show the relative paths, the function formerly called quote_crlf()
(now called quote_path()) takes the prefix as an additional argument.

While at it, the static buffers were replaced by strbufs.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c
builtin-runstatus.c
t/t7502-status.sh [new file with mode: 0755]
wt-status.c
wt-status.h