Merge branch 'js/merge-base' into next

* js/merge-base:
  Makefile: tighten git-http-{fetch,push} dependencies
This commit is contained in:
Junio C Hamano
2006-07-03 03:17:00 -07:00
2 changed files with 5 additions and 5 deletions

View File

@@ -632,11 +632,11 @@ git-ssh-push$X: rsh.o
git-imap-send$X: imap-send.o $(LIB_FILE)
http.o http-fetch.o http-push.o: http.h
git-http-fetch$X: fetch.o http.o http-fetch.o $(LIB_FILE)
git-http-fetch$X: fetch.o http.o http-fetch.o $(GITLIBS)
$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
$(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT)
git-http-push$X: revision.o http.o http-push.o $(LIB_FILE)
git-http-push$X: revision.o http.o http-push.o $(GITLIBS)
$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
$(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT)

View File

@@ -240,7 +240,7 @@ void clear_object_marks(unsigned mark)
{
int i;
for (i = 0; i < obj_allocs; i++)
if (objs[i])
objs[i]->flags &= ~mark;
for (i = 0; i < obj_hash_size; i++)
if (obj_hash[i])
obj_hash[i]->flags &= ~mark;
}