make git-fast-import a builtin
There's no reason that git-fast-import benefits from being a separate binary. And as it links against libgit.a, it has a non-trivial disk footprint. Let's make it a builtin, which reduces the size of a stripped installation from 22MB to 21MB. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
d7a5649c82
commit
a006f875e2
@ -501,7 +501,7 @@ unset(CMAKE_REQUIRED_INCLUDES)
|
||||
|
||||
#programs
|
||||
set(PROGRAMS_BUILT
|
||||
git git-daemon git-fast-import git-http-backend git-sh-i18n--envsubst
|
||||
git git-daemon git-http-backend git-sh-i18n--envsubst
|
||||
git-shell git-remote-testsvn)
|
||||
|
||||
if(NOT CURL_FOUND)
|
||||
@ -627,9 +627,6 @@ target_link_libraries(git common-main)
|
||||
add_executable(git-daemon ${CMAKE_SOURCE_DIR}/daemon.c)
|
||||
target_link_libraries(git-daemon common-main)
|
||||
|
||||
add_executable(git-fast-import ${CMAKE_SOURCE_DIR}/fast-import.c)
|
||||
target_link_libraries(git-fast-import common-main)
|
||||
|
||||
add_executable(git-http-backend ${CMAKE_SOURCE_DIR}/http-backend.c)
|
||||
target_link_libraries(git-http-backend common-main)
|
||||
|
||||
|
Reference in New Issue
Block a user