author | Junio C Hamano <junkio@cox.net> | |
Thu, 4 May 2006 07:14:56 +0000 (00:14 -0700) | ||
committer | Junio 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
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 | patch | | diff1 | | diff2 | | blob | history |
builtin.h | patch | | diff1 | | diff2 | | blob | history |
git.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc Makefile
index ecbdde6ef973b9668b83bff85c9abe92dcc29fd9,a3f7e92d01422b95c183fb9bff560ba779a7567c..e9d9e101d393dd037728fa4552d8b9fc03270557
+++ b/Makefile
$(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
index 7f06812b8674fdfe5f54d901677320d7f8717a97,bb63f0729a4a05e60ef3e609b971bdf57b60b06d..97e24644687d819fddf57beaaddf4bdda731bb82
+++ b/builtin.h
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
index d5f0faa9077b0a769c8b36d47cc08cbf86b9d564,49ba5189d923493aaed40a6a0fccc2ead040b06a..84803a62e6c4dc6b64aaf5d1fda9991be535048a
+++ b/git.c
{ "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;