Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ks/maint-mailinfo-folded'
[gitweb.git]
/
patch-id.c
diff --git
a/patch-id.c
b/patch-id.c
index 871f1d20c0e364220d23035b34685ced8737cda8..3660ad461d359a7fb968692f40cea75c9764f61a 100644
(file)
--- 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;
}