path: root/Makefile
diff options
authorEdgar Toernig <>2005-04-30 16:46:49 (GMT)
committerLinus Torvalds <>2005-04-30 16:46:49 (GMT)
commitecee9d9e793c7573cf3730fb9746527a0a7e94e7 (patch)
tree0cd8a2506a2960a0697fd7aaa2cd0dfc38b1aa67 /Makefile
parentd167f147dc6995e452cdc374ffcd07f5d9abf0bc (diff)
[PATCH] Do date parsing by hand...
...since everything out there is either strange (libc mktime has issues with timezones) or introduces unnecessary dependencies for people (libcurl). This goes back to the old date parsing, but moves it out into a file of its own, and does the "struct tm" to "seconds since epoch" handling by hand. I grepped through the tz-database and it seems there's one "country" left that has non-60-minute DST: Lord Howe Island. All others dropped that before 1970.
Diffstat (limited to 'Makefile')
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ef9a9fa..7b51773 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,8 @@ all: $(PROG)
install: $(PROG) $(SCRIPTS)
install $(PROG) $(SCRIPTS) $(HOME)/bin/
-LIB_OBJS=read-cache.o sha1_file.o usage.o object.o commit.o tree.o blob.o tag.o
+LIB_OBJS=read-cache.o sha1_file.o usage.o object.o commit.o tree.o blob.o \
+ tag.o date.o
LIB_H=cache.h object.h blob.h tree.h commit.h tag.h
@@ -91,7 +92,6 @@ git-diff-tree-helper: diff-tree-helper.c
git-tar-tree: tar-tree.c
git-http-pull: LIBS += -lcurl
-git-commit-tree: LIBS += -lcurl
# Library objects..
blob.o: $(LIB_H)