Skip to content

Commit bb5d531

Browse files
jrngitster
authored andcommitted
stop installing git-tar-tree link
When the built-in "git tar-tree" command (a thin wrapper around "git archive") was removed in 925cecc (tar-tree: remove deprecated command, 2013-11-10), the build continued to install a non-functioning git-tar-tree command in gitexecdir by mistake: $ PATH=$(git --exec-path):$PATH $ git-tar-tree -h fatal: cannot handle tar-tree internally The list of links in gitexecdir is populated from BUILTIN_OBJS, which includes builtin/tar-tree.o to implement "git get-tar-commit-id". Rename the get-tar-commit-id source file to builtin/get-tar-commit-id.c to reflect its purpose and fix 'make install'. Signed-off-by: Jonathan Nieder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 816b2c0 commit bb5d531

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,6 @@ BUILT_INS += git-cherry$X
586586
BUILT_INS += git-cherry-pick$X
587587
BUILT_INS += git-format-patch$X
588588
BUILT_INS += git-fsck-objects$X
589-
BUILT_INS += git-get-tar-commit-id$X
590589
BUILT_INS += git-init$X
591590
BUILT_INS += git-merge-subtree$X
592591
BUILT_INS += git-show$X
@@ -929,6 +928,7 @@ BUILTIN_OBJS += builtin/fmt-merge-msg.o
929928
BUILTIN_OBJS += builtin/for-each-ref.o
930929
BUILTIN_OBJS += builtin/fsck.o
931930
BUILTIN_OBJS += builtin/gc.o
931+
BUILTIN_OBJS += builtin/get-tar-commit-id.o
932932
BUILTIN_OBJS += builtin/grep.o
933933
BUILTIN_OBJS += builtin/hash-object.o
934934
BUILTIN_OBJS += builtin/help.o
@@ -980,7 +980,6 @@ BUILTIN_OBJS += builtin/show-ref.o
980980
BUILTIN_OBJS += builtin/stripspace.o
981981
BUILTIN_OBJS += builtin/symbolic-ref.o
982982
BUILTIN_OBJS += builtin/tag.o
983-
BUILTIN_OBJS += builtin/tar-tree.o
984983
BUILTIN_OBJS += builtin/unpack-file.o
985984
BUILTIN_OBJS += builtin/unpack-objects.o
986985
BUILTIN_OBJS += builtin/update-index.o
File renamed without changes.

0 commit comments

Comments
 (0)