GIT 0.99.9k v0.99.9k
authorJunio C Hamano <junkio@cox.net>
Sat, 26 Nov 2005 00:35:20 +0000 (16:35 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 26 Nov 2005 00:35:20 +0000 (16:35 -0800)
This is not 1.0rc4 yet, but to push the recent fixes out.

Signed-off-by: Junio C Hamano <junkio@cox.net>
1  2 
Makefile
debian/changelog

diff --combined Makefile
+++ b/Makefile
@@@ -50,7 -50,7 +50,7 @@@
  # Define USE_STDEV below if you want git to care about the underlying device
  # change being considered an inode change from the update-cache perspective.
  
- GIT_VERSION = 0.99.9j
 -GIT_VERSION = 0.99.9.GIT
++GIT_VERSION = 0.99.9k
  
  # CFLAGS and LDFLAGS are for the users to override from the command line.
  
@@@ -102,6 -102,11 +102,11 @@@ SCRIPT_PERL = 
  SCRIPT_PYTHON = \
        git-merge-recursive.py
  
+ SCRIPTS = $(patsubst %.sh,%,$(SCRIPT_SH)) \
+         $(patsubst %.perl,%,$(SCRIPT_PERL)) \
+         $(patsubst %.py,%,$(SCRIPT_PYTHON)) \
+         gitk git-cherry-pick
  # The ones that do not have to link with lcrypto nor lz.
  SIMPLE_PROGRAMS = \
        git-get-tar-commit-id$X git-mailinfo$X git-mailsplit$X \
@@@ -125,18 -130,36 +130,36 @@@ PROGRAMS = 
        git-unpack-objects$X git-update-index$X git-update-server-info$X \
        git-upload-pack$X git-verify-pack$X git-write-tree$X \
        git-update-ref$X git-symbolic-ref$X git-check-ref-format$X \
-       git-name-rev$X git-pack-redundant$X git-var$X $(SIMPLE_PROGRAMS)
+       git-name-rev$X git-pack-redundant$X git-repo-config$X git-var$X
+ # what 'all' will build and 'install' will install.
+ ALL_PROGRAMS = $(PROGRAMS) $(SIMPLE_PROGRAMS) $(SCRIPTS) git$X
  
  # Backward compatibility -- to be removed after 1.0
  PROGRAMS += git-ssh-pull$X git-ssh-push$X
  
  GIT_LIST_TWEAK =
  
+ # Set paths to tools early so that they can be used for version tests.
+ ifndef SHELL_PATH
+       SHELL_PATH = /bin/sh
+ endif
+ ifndef PERL_PATH
+       PERL_PATH = /usr/bin/perl
+ endif
+ ifndef PYTHON_PATH
+       PYTHON_PATH = /usr/bin/python
+ endif
  PYMODULES = \
        gitMergeCommon.py
  
  ifdef WITH_OWN_SUBPROCESS_PY
        PYMODULES += compat/subprocess.py
+ else
+       ifneq ($(shell $(PYTHON_PATH) -c 'import subprocess;print"OK"' 2>/dev/null),OK)
+               PYMODULES += compat/subprocess.py
+       endif
  endif
  
  ifdef WITH_SEND_EMAIL
@@@ -242,22 -265,15 +265,15 @@@ ifndef NO_CUR
                CURL_LIBCURL = -lcurl
        endif
        PROGRAMS += git-http-fetch$X
-       ifndef NO_EXPAT
-               EXPAT_LIBEXPAT = -lexpat
-               PROGRAMS += git-http-push$X
+       curl_check := $(shell (echo 070908; curl-config --vernum) | sort -r | sed -ne 2p)
+       ifeq "$(curl_check)" "070908"
+               ifndef NO_EXPAT
+                       EXPAT_LIBEXPAT = -lexpat
+                       PROGRAMS += git-http-push$X
+               endif
        endif
  endif
  
- ifndef SHELL_PATH
-       SHELL_PATH = /bin/sh
- endif
- ifndef PERL_PATH
-       PERL_PATH = /usr/bin/perl
- endif
- ifndef PYTHON_PATH
-       PYTHON_PATH = /usr/bin/python
- endif
  ifndef NO_OPENSSL
        LIB_OBJS += epoch.o
        OPENSSL_LIBSSL = -lssl
@@@ -330,25 -346,20 +346,20 @@@ endi
  
  ALL_CFLAGS += -DSHA1_HEADER=$(call shellquote,$(SHA1_HEADER))
  
- SCRIPTS = $(patsubst %.sh,%,$(SCRIPT_SH)) \
-         $(patsubst %.perl,%,$(SCRIPT_PERL)) \
-         $(patsubst %.py,%,$(SCRIPT_PYTHON)) \
-         gitk git-cherry-pick
  export prefix TAR INSTALL DESTDIR SHELL_PATH template_dir
  ### Build rules
  
- all: $(PROGRAMS) $(SCRIPTS) git
+ all: $(ALL_PROGRAMS)
  
  all:
        $(MAKE) -C templates
  
  # Only use $(CFLAGS). We don't need anything else.
- git: git.c Makefile
+ git$(X): git.c Makefile
        $(CC) -DGIT_EXEC_PATH='"$(bindir)"' -DGIT_VERSION='"$(GIT_VERSION)"' \
-               $(CFLAGS) $@.c -o $@
+               $(CFLAGS) $< -o $@
  
- $(filter-out git,$(patsubst %.sh,%,$(SCRIPT_SH))) : % : %.sh
+ $(patsubst %.sh,%,$(SCRIPT_SH)) : % : %.sh
        rm -f $@
        sed -e '1s|#!.*/sh|#!$(call shq,$(SHELL_PATH))|' \
            -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \
@@@ -387,7 -398,8 +398,8 @@@ $(SIMPLE_PROGRAMS) : git-%$X : %.
        $(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
                $(LIB_FILE) $(SIMPLE_LIB)
  
- git-http-fetch$X: fetch.o
+ git-http-fetch$X: fetch.o http.o
+ git-http-push$X: http.o
  git-local-fetch$X: fetch.o
  git-ssh-fetch$X: rsh.o fetch.o
  git-ssh-upload$X: rsh.o
@@@ -431,9 -443,9 +443,9 @@@ check
  
  ### Installation rules
  
- install: $(PROGRAMS) $(SCRIPTS) git
+ install: all
        $(INSTALL) -d -m755 $(call shellquote,$(DESTDIR)$(bindir))
-       $(INSTALL) git $(PROGRAMS) $(SCRIPTS) $(call shellquote,$(DESTDIR)$(bindir))
+       $(INSTALL) $(ALL_PROGRAMS) $(call shellquote,$(DESTDIR)$(bindir))
        $(MAKE) -C templates install
        $(INSTALL) -d -m755 $(call shellquote,$(DESTDIR)$(GIT_PYTHON_DIR))
        $(INSTALL) $(PYMODULES) $(call shellquote,$(DESTDIR)$(GIT_PYTHON_DIR))
@@@ -470,7 -482,8 +482,8 @@@ deb: dis
  ### Cleaning rules
  
  clean:
-       rm -f *.o mozilla-sha1/*.o arm/*.o ppc/*.o compat/*.o git $(PROGRAMS) $(LIB_FILE)
+       rm -f *.o mozilla-sha1/*.o arm/*.o ppc/*.o compat/*.o $(LIB_FILE)
+       rm -f $(PROGRAMS) $(SIMPLE_PROGRAMS) git$X
        rm -f $(filter-out gitk,$(SCRIPTS))
        rm -f *.spec *.pyc *.pyo
        rm -rf $(GIT_TARNAME)
diff --combined debian/changelog
@@@ -1,63 -1,3 +1,69 @@@
++git-core (0.99.9k-0) unstable; urgency=low
++
++  * GIT 0.99.9k but not 1.0rc yet.
++
++ -- Junio C Hamano <junkio@cox.net>  Fri, 25 Nov 2005 16:33:11 -0800
++
 +git-core (0.99.9j-0) unstable; urgency=low
 +
 +  * GIT 0.99.9j aka 1.0rc3
 +
 + -- Junio C Hamano <junkio@cox.net>  Wed, 16 Nov 2005 20:39:55 -0800
 +
 +git-core (0.99.9i-0) unstable; urgency=low
 +
 +  * GIT 0.99.9i aka 1.0rc2
 +
 + -- Junio C Hamano <junkio@cox.net>  Mon, 14 Nov 2005 18:38:27 -0800
 +
 +git-core (0.99.9h-0) unstable; urgency=low
 +
 +  * GIT 0.99.9h
 +
 + -- Junio C Hamano <junkio@cox.net>  Fri, 11 Nov 2005 22:33:18 -0800
 +
 +git-core (0.99.9g-0) unstable; urgency=low
 +
 +  * GIT 0.99.9g
 +
 + -- Junio C Hamano <junkio@cox.net>  Wed,  9 Nov 2005 21:01:55 -0800
 +
 +git-core (0.99.9f-0) unstable; urgency=low
 +
 +  * GIT 0.99.9f
 +
 + -- Junio C Hamano <junkio@cox.net>  Tue,  8 Nov 2005 01:21:52 -0800
 +
 +git-core (0.99.9e-0) unstable; urgency=low
 +
 +  * GIT 0.99.9e
 +
 + -- Junio C Hamano <junkio@cox.net>  Sun,  6 Nov 2005 18:37:18 -0800
 +
 +git-core (0.99.9d-0) unstable; urgency=low
 +
 +  * GIT 0.99.9d
 +
 + -- Junio C Hamano <junkio@cox.net>  Sat,  5 Nov 2005 11:46:37 -0800
 +
 +git-core (0.99.9c-0) unstable; urgency=low
 +
 +  * GIT 0.99.9c
 +
 + -- Junio C Hamano <junkio@cox.net>  Thu,  3 Nov 2005 15:44:54 -0800
 +
 +git-core (0.99.9b-0) unstable; urgency=low
 +
 +  * GIT 0.99.9b
 +
 + -- Junio C Hamano <junkio@cox.net>  Tue,  1 Nov 2005 21:39:39 -0800
 +
 +git-core (0.99.9a-0) unstable; urgency=low
 +
 +  * GIT 0.99.9a
 +
 + -- Junio C Hamano <junkio@cox.net>  Sun, 30 Oct 2005 15:03:32 -0800
 +
  git-core (0.99.9.GIT-2) unstable; urgency=low
  
    * Build Dependency did not include libexpat-dev.