summaryrefslogtreecommitdiff
path: root/builtin-mv.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin-mv.c')
-rw-r--r--builtin-mv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin-mv.c b/builtin-mv.c
index 42c2e39b21..62ae937cb1 100644
--- a/builtin-mv.c
+++ b/builtin-mv.c
@@ -56,11 +56,10 @@ static const char *add_slash(const char *path)
static struct lock_file lock_file;
-int cmd_mv(int argc, const char **argv, char **envp)
+int cmd_mv(int argc, const char **argv, const char *prefix)
{
int i, newfd, count;
int verbose = 0, show_only = 0, force = 0, ignore_errors = 0;
- const char *prefix = setup_git_directory();
const char **source, **destination, **dest_path;
enum update_mode { BOTH = 0, WORKING_DIRECTORY, INDEX } *modes;
struct stat st;