Merge branch 'jl/virtual'
authorJunio C Hamano <junkio@cox.net>
Thu, 28 Sep 2006 06:56:55 +0000 (23:56 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 28 Sep 2006 06:56:55 +0000 (23:56 -0700)
* jl/virtual:
Removed memory leaks from interpolation table uses.
Cleaned up git-daemon virtual hosting support.

1  2 
Makefile
diff --combined Makefile
index c888c810bf8220c25b9949f47730742347738c32,e68b4c0747614d8b19abcc0a09e4d24a8e9f41f7..e649d72f605c4b8a7d310464319d728eba52440f
+++ b/Makefile
@@@ -81,6 -81,8 +81,6 @@@ all
  # Define NO_ACCURATE_DIFF if your diff program at least sometimes misses
  # a missing newline at the end of the file.
  #
 -# Define NO_PYTHON if you want to lose all benefits of the recursive merge.
 -#
  # Define COLLISION_CHECK below if you believe that SHA1's
  # 1461501637330902918203684832716283019655932542976 hashes do not give you
  # sufficient guarantee that no collisions between objects will ever happen.
@@@ -172,7 -174,7 +172,7 @@@ SCRIPT_PERL = 
        git-send-email.perl git-svn.perl
  
  SCRIPT_PYTHON = \
 -      git-merge-recursive.py
 +      git-merge-recursive-old.py
  
  SCRIPTS = $(patsubst %.sh,%,$(SCRIPT_SH)) \
          $(patsubst %.perl,%,$(SCRIPT_PERL)) \
@@@ -197,7 -199,7 +197,7 @@@ PROGRAMS = 
        git-upload-pack$X git-verify-pack$X \
        git-pack-redundant$X git-var$X \
        git-describe$X git-merge-tree$X git-blame$X git-imap-send$X \
 -      git-merge-recur$X \
 +      git-merge-recursive$X \
        $(EXTRA_PROGRAMS)
  
  # Empty...
@@@ -522,6 -524,9 +522,9 @@@ endi
  ifdef NO_INET_NTOP
        LIB_OBJS += compat/inet_ntop.o
  endif
+ ifdef NO_INET_PTON
+       LIB_OBJS += compat/inet_pton.o
+ endif
  
  ifdef NO_ICONV
        ALL_CFLAGS += -DNO_ICONV
@@@ -568,8 -573,7 +571,8 @@@ LIB_OBJS += $(COMPAT_OBJS
  export prefix TAR INSTALL DESTDIR SHELL_PATH template_dir
  ### Build rules
  
 -all: $(ALL_PROGRAMS) $(BUILT_INS) git$X gitk gitweb/gitweb.cgi
 +all: $(ALL_PROGRAMS) $(BUILT_INS) git$X gitk gitweb/gitweb.cgi \
 +      git-merge-recur$X
  
  all:
        $(MAKE) -C templates
@@@ -584,9 -588,6 +587,9 @@@ git$X: git.c common-cmds.h $(BUILTIN_OB
  
  help.o: common-cmds.h
  
 +git-merge-recur$X: git-merge-recursive$X
 +      rm -f $@ && ln git-merge-recursive$X $@
 +
  $(BUILT_INS): git$X
        rm -f $@ && ln git$X $@
  
@@@ -724,6 -725,11 +727,6 @@@ git-http-push$X: revision.o http.o http
        $(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
                $(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT)
  
 -merge-recursive.o path-list.o: path-list.h
 -git-merge-recur$X: merge-recursive.o path-list.o $(GITLIBS)
 -      $(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
 -              $(LIBS)
 -
  $(LIB_OBJS) $(BUILTIN_OBJS): $(LIB_H)
  $(patsubst git-%$X,%.o,$(PROGRAMS)): $(LIB_H) $(wildcard */*.h)
  $(DIFF_OBJS): diffcore.h
@@@ -884,7 -890,6 +887,7 @@@ check-docs:
                case "$$v" in \
                git-merge-octopus | git-merge-ours | git-merge-recursive | \
                git-merge-resolve | git-merge-stupid | git-merge-recur | \
 +              git-merge-recursive-old | \
                git-ssh-pull | git-ssh-push ) continue ;; \
                esac ; \
                test -f "Documentation/$$v.txt" || \