ls-tree: further cleanup to parallel ls-files.
[git.git] / git.c
diff --git a/git.c b/git.c
index bdd3f8d..0b10b6e 100644 (file)
--- 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);