summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2007-08-01 00:28:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-08-01 07:38:30 (GMT)
commite5392c51469c25851f9c6e53165d75fc61901768 (patch)
tree9fc9e6a7b22c40694e5bb6994c599da1a159d96e /Makefile
parent73a7a65663223d08d8cabac8d873de21b7e9678d (diff)
downloadgit-e5392c51469c25851f9c6e53165d75fc61901768.zip
git-e5392c51469c25851f9c6e53165d75fc61901768.tar.gz
git-e5392c51469c25851f9c6e53165d75fc61901768.tar.bz2
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ff5fc5f..b593446 100644
--- a/Makefile
+++ b/Makefile
@@ -944,7 +944,7 @@ endif
### Testing rules
-TEST_PROGRAMS = test-chmtime$X test-genrandom$X test-date$X test-delta$X test-sha1$X test-match-trees$X
+TEST_PROGRAMS = test-chmtime$X test-genrandom$X test-date$X test-delta$X test-sha1$X test-match-trees$X test-absolute-path$X
all:: $(TEST_PROGRAMS)