X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=pack-redundant.c;h=48a12bc1352ad53fbc19ec8c5982a91673a098e1;hb=e5f5050ed1481c3bc27658f625a87155aed0984f;hp=e93eb966e2ccd4bfe31a89668d55c2276c45b87a;hpb=0f2d01d4fcdf5422c679b4ee10e28323ee0b3dc7;p=git.git diff --git a/pack-redundant.c b/pack-redundant.c index e93eb966e..48a12bc13 100644 --- a/pack-redundant.c +++ b/pack-redundant.c @@ -7,6 +7,7 @@ */ #include "cache.h" +#include "exec_cmd.h" #define BLKSIZE 512 @@ -601,6 +602,8 @@ int main(int argc, char **argv) unsigned char *sha1; char buf[42]; /* 40 byte sha1 + \n + \0 */ + git_extract_argv0_path(argv[0]); + setup_git_directory(); for (i = 1; i < argc; i++) {