author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Wed, 1 Aug 2007 00:28:59 +0000 (01:28 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 1 Aug 2007 07:38:30 +0000 (00:38 -0700) | ||
commit | e5392c51469c25851f9c6e53165d75fc61901768 | |
tree | 9fc9e6a7b22c40694e5bb6994c599da1a159d96e | tree | snapshot |
parent | 73a7a65663223d08d8cabac8d873de21b7e9678d | commit | diff |
Add is_absolute_path() and make_absolute_path()
This patch adds convenience functions to work with absolute paths.
The function is_absolute_path() should help the efforts to integrate
the MinGW fork.
Note that make_absolute_path() returns a pointer to a static buffer.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This patch adds convenience functions to work with absolute paths.
The function is_absolute_path() should help the efforts to integrate
the MinGW fork.
Note that make_absolute_path() returns a pointer to a static buffer.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | diff | blob | history | |
cache.h | diff | blob | history | |
path.c | diff | blob | history | |
t/t0000-basic.sh | diff | blob | history | |
test-absolute-path.c | [new file with mode: 0644] | blob |