summaryrefslogtreecommitdiff
path: root/patch-id.c
diff options
context:
space:
mode:
Diffstat (limited to 'patch-id.c')
-rw-r--r--patch-id.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/patch-id.c b/patch-id.c
index 871f1d20c0..3660ad461d 100644
--- a/patch-id.c
+++ b/patch-id.c
@@ -1,4 +1,5 @@
#include "cache.h"
+#include "exec_cmd.h"
static void flush_current_id(int patchlen, unsigned char *id, git_SHA_CTX *c)
{
@@ -79,6 +80,8 @@ int main(int argc, char **argv)
if (argc != 1)
usage(patch_id_usage);
+ git_extract_argv0_path(argv[0]);
+
generate_id_list();
return 0;
}