X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Fmv.c;h=cdbb09473c0c45efff23a63e78b7623cad523350;hb=a121d53fa6ce711e695d65ecff300127ff8e1047;hp=38574b89f7cfc127b2ea5044b3ebb5dabe726fb4;hpb=0a4139b5f283ef5e817afaafd9e7e2a149220cc4;p=git.git diff --git a/builtin/mv.c b/builtin/mv.c index 38574b89f..cdbb09473 100644 --- a/builtin/mv.c +++ b/builtin/mv.c @@ -63,7 +63,7 @@ int cmd_mv(int argc, const char **argv, const char *prefix) const char **source, **destination, **dest_path; enum update_mode { BOTH = 0, WORKING_DIRECTORY, INDEX } *modes; struct stat st; - struct string_list src_for_dst = {NULL, 0, 0, 0}; + struct string_list src_for_dst = STRING_LIST_INIT_NODUP; git_config(git_default_config, NULL);