grep: move logic to compile header pattern into a separate helper
[gitweb.git] / builtin / checkout.c
index 1994be92c66257da18c31502bda605be170fd092..eef2b48d9856c90b2d8fd7b2e06f8179c08faeac 100644 (file)
@@ -279,7 +279,6 @@ static void show_local_changes(struct object *head)
        struct rev_info rev;
        /* I think we want full paths, even if we're in a subdirectory. */
        init_revisions(&rev, NULL);
-       rev.abbrev = 0;
        rev.diffopt.output_format |= DIFF_FORMAT_NAME_STATUS;
        if (diff_setup_done(&rev.diffopt) < 0)
                die("diff_setup_done failed");