index bdd3f8d01c0be5edeccf8b99c98a1cff5d70dbc2..0b10b6e781fdf76a3822b15cfa304352aee812cc 100644 (file)
--- a/git.c
+++ b/git.c
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);