stop installing git-tar-tree link
commitbb5d531efa804bbf09064e4a7ce65e096599f3c7
authorJonathan Nieder <jrnieder@gmail.com>
Mon, 2 Dec 2013 23:37:10 +0000 (2 15:37 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Dec 2013 20:35:22 +0000 (3 12:35 -0800)
tree1ddbdafca6b9db5263a77f08ce5f14ec71ada6ee
parent816b2c04c90ef7115581412f7b9552b848ebb6a9
stop installing git-tar-tree link

When the built-in "git tar-tree" command (a thin wrapper around "git
archive") was removed in 925ceccf (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 <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
builtin/get-tar-commit-id.c [moved from builtin/tar-tree.c with 100% similarity]