author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Sun, 11 Nov 2007 17:35:41 +0000 (17:35 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 23 Nov 2007 01:05:03 +0000 (17:05 -0800) | ||
commit | 367c98866c340bc9cf5cfa88c3b69f027165fc44 | |
tree | 6dc2ffcd92dc2d9a9ec1bac2e547434821dcf668 | tree | snapshot |
parent | d37d320386369375b4e5b95b98517503125376f9 | commit | diff |
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>
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 | diff | blob | history | |
builtin-runstatus.c | diff | blob | history | |
t/t7502-status.sh | [new file with mode: 0755] | blob |
wt-status.c | diff | blob | history | |
wt-status.h | diff | blob | history |