return 0;
}
-static int try_difference(char *arg)
+static int try_difference(const char *arg)
{
char *dotdot;
unsigned char sha1[20];
return 0;
}
-int cmd_rev_parse(int argc, const char **argv, char **envp)
+int cmd_rev_parse(int argc, const char **argv, const char *prefix)
{
int i, as_is = 0, verify = 0;
unsigned char sha1[20];
- const char *prefix = setup_git_directory();
git_config(git_default_config);