Merge branch 'lt/push' into next
authorJunio C Hamano <junkio@cox.net>
Sun, 30 Apr 2006 08:00:55 +0000 (01:00 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 30 Apr 2006 08:00:55 +0000 (01:00 -0700)
* lt/push:
  git builtin "push"
  git-format-patch: Use rfc2822 compliant date.

1  2 
Makefile
builtin.h
git.c

diff --cc Makefile
+++ b/Makefile
@@@ -214,7 -214,7 +214,8 @@@ LIB_OBJS = 
        $(DIFF_OBJS)
  
  BUILTIN_OBJS = \
-       builtin-log.o builtin-help.o builtin-count.o builtin-diff.o
 -      builtin-log.o builtin-help.o builtin-push.o
++      builtin-log.o builtin-help.o builtin-count.o builtin-diff.o \
++      builtin-push.o
  
  GITLIBS = $(LIB_FILE) $(XDIFF_LIB)
  LIBS = $(GITLIBS) -lz
diff --cc builtin.h
+++ b/builtin.h
@@@ -19,8 -19,7 +19,10 @@@ extern int cmd_version(int argc, const 
  extern int cmd_whatchanged(int argc, const char **argv, char **envp);
  extern int cmd_show(int argc, const char **argv, char **envp);
  extern int cmd_log(int argc, const char **argv, char **envp);
 +extern int cmd_format_patch(int argc, const char **argv, char **envp);
 +extern int cmd_count_objects(int argc, const char **argv, char **envp);
 +extern int cmd_diff(int argc, const char **argv, char **envp);
  
+ extern int cmd_push(int argc, const char **argv, char **envp);
  #endif
diff --cc git.c
--- 1/git.c
--- 2/git.c
+++ b/git.c
@@@ -46,9 -46,7 +46,10 @@@ static void handle_internal_command(in
                { "log", cmd_log },
                { "whatchanged", cmd_whatchanged },
                { "show", cmd_show },
 +              { "fmt-patch", cmd_format_patch },
 +              { "count-objects", cmd_count_objects },
 +              { "diffn", cmd_diff },
+               { "push", cmd_push },
        };
        int i;