Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
remote-curl: add missing initialization of argv0_path
[gitweb.git]
/
remote-curl.c
diff --git
a/remote-curl.c
b/remote-curl.c
index ad6a1637b52dedeeb461315e9cc0d313b1c6087f..d8d276a471b0c5a819ca1b2e02e9b3a6cd27cd73 100644
(file)
--- a/
remote-curl.c
+++ b/
remote-curl.c
@@
-82,6
+82,7
@@
int main(int argc, const char **argv)
const char *url;
struct walker *walker = NULL;
+ git_extract_argv0_path(argv[0]);
setup_git_directory();
if (argc < 2) {
fprintf(stderr, "Remote needed\n");