revision: --max-age alone does not need limit_list() anymore.
[gitweb.git] / combine-diff.c
index a23894d86927ccf3fcf4a9c720df49ff2364b749..f17aab33f1d241097a16e2cfd8a1ab3361e45902 100644 (file)
@@ -649,7 +649,7 @@ static int show_patch_diff(struct combine_diff_path *elem, int num_parent,
                        int len = st.st_size;
                        int cnt = 0;
 
-                       elem->mode = DIFF_FILE_CANON_MODE(st.st_mode);
+                       elem->mode = canon_mode(st.st_mode);
                        size = len;
                        result = xmalloc(len + 1);
                        while (cnt < len) {