diff --git a/index-pack.c b/index-pack.c
index b46a6d65973ac4b6ce4600a67c11e7bb37e49b89..f7a38079e1ec1a68606ba728964efbd5b2a04c4c 100644 (file)
--- a/index-pack.c
+++ b/index-pack.c
#include "tree.h"
#include "progress.h"
#include "fsck.h"
+#include "exec_cmd.h"
static const char index_pack_usage[] =
"git index-pack [-v] [-o <index-file>] [{ ---keep | --keep=<msg> }] [--strict] { <pack-file> | --stdin [--fix-thin] [<pack-file>] }";
struct pack_idx_entry **idx_objects;
unsigned char pack_sha1[20];
+ git_extract_argv0_path(argv[0]);
+
/*
* We wish to read the repository's config file if any, and
* for that it is necessary to call setup_git_directory_gently().