Builtin git-show-branch.
PATCH 7/8 Builtin git-show-branch.
In reply to a message not in the archiveFrom: Peter Eriksen <[email protected]>
Signed-off-by Peter Eriksen <[email protected]>
---
d0d1cfb7985fa90442e423a55ca23e6bc83f912d
Makefile | 6 builtin-show-branch.c | 789 +++++++++++++++++++++++++++++++++++++++++++++++++ builtin.h | 1 git.c | 3 show-branch.c | 788 ------------------------------------------------- 5 files changed, 795 insertions(+), 792 deletions(-) create mode 100644 builtin-show-branch.c delete mode 100644 show-branch.c
d0d1cfb7985fa90442e423a55ca23e6bc83f912d
Makefile +3 -3
@@ -159,7 +159,7 @@ PROGRAMS = \ git-merge-index$X git-mktag$X git-mktree$X git-pack-objects$X git-patch-id$X \ git-peek-remote$X git-prune-packed$X \ git-receive-pack$X git-rev-parse$X \ - git-send-pack$X git-show-branch$X git-shell$X \ + git-send-pack$X git-shell$X \ git-show-index$X git-ssh-fetch$X \ git-ssh-upload$X git-unpack-file$X \ git-unpack-objects$X git-update-index$X git-update-server-info$X \
@@ -173,7 +173,7 @@ BUILT_INS = git-log$X git-whatchanged$X git-grep$X git-rev-list$X git-check-ref-format$X \ git-init-db$X git-ls-files$X git-ls-tree$X \ git-tar-tree$X git-read-tree$X git-commit-tree$X \ - git-apply$X + git-apply$X git-show-branch$X # what 'all' will build and 'install' will install, in gitexecdir ALL_PROGRAMS = $(PROGRAMS) $(SIMPLE_PROGRAMS) $(SCRIPTS)
@@ -224,7 +224,7 @@ BUILTIN_OBJS = \ builtin-grep.o builtin-rev-list.o builtin-check-ref-format.o \ builtin-init-db.o builtin-ls-files.o builtin-ls-tree.o \ builtin-tar-tree.o builtin-read-tree.o builtin-commit-tree.o \ - builtin-apply.o + builtin-apply.o builtin-show-branch.o GITLIBS = $(LIB_FILE) $(XDIFF_LIB) LIBS = $(GITLIBS) -lz
builtin-show-branch.c new file +789 -0
789 lines not on this page · raw message
builtin.h +1 -0
@@ -33,5 +33,6 @@ extern int cmd_tar_tree(int argc, constextern int cmd_read_tree (int argc,const char **argv,char **envp);extern int cmd_commit_tree (int argc,const char **argv,char **envp);extern int cmd_apply (int argc,const char **argv,char **envp); +extern int cmd_show_branch (int argc,const char **argv,char **envp);#endif
git.c +2 -1
@@ -58,7 +58,8 @@ static void handle_internal_command(int { "tar-tree", cmd_tar_tree }, { "read-tree", cmd_read_tree }, { "commit-tree", cmd_commit_tree }, - { "apply", cmd_apply } + { "apply", cmd_apply }, + { "show-branch", cmd_show_branch } };int i;
show-branch.c deleted +0 -788
788 lines not on this page · raw message
Signature · 1 line
1.3.3.g288c