Merge branch 'js/fetchconfig' into next
authorJunio C Hamano <junkio@cox.net>
Thu, 4 May 2006 07:14:56 +0000 (00:14 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 4 May 2006 07:14:56 +0000 (00:14 -0700)
* js/fetchconfig:
  Add a conversion tool to migrate remote information into the config
  fetch, pull: ask config for remote information
  Add a few more words to the glossary.
  Added definitions for a few words:
  Alphabetize the glossary.
  sha1_to_hex() usage cleanup

1  2 
Makefile
builtin.h
git.c

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