X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=git.c;h=0b10b6e781fdf76a3822b15cfa304352aee812cc;hb=4e72dcec89c7cda7022d4ec2dd686e77deb5376e;hp=bdd3f8d01c0be5edeccf8b99c98a1cff5d70dbc2;hpb=3eeb419968c1f8f0a762a7127db770e9d9c8037d;p=git.git diff --git a/git.c b/git.c index bdd3f8d0..0b10b6e7 100644 --- a/git.c +++ b/git.c @@ -273,7 +273,7 @@ int main(int argc, char **argv, char **envp) while (!strncmp(exec_path, "./", 2)) { exec_path += 2; while (*exec_path == '/') - *exec_path++; + exec_path++; } snprintf(git_command + len, sizeof(git_command) - len, "/%s", exec_path);