Merge branch 'sg/doc-trace-appends'
[gitweb.git] / submodule.c
index 058fc9f8855d7719cbc9bb17d646b63d99772c87..ed05339b5889a3add4210a7ef7cfabe0322c54ef 100644 (file)
@@ -537,7 +537,7 @@ static void show_submodule_header(struct diff_options *o, const char *path,
                        fast_backward = 1;
        }
 
-       if (!oidcmp(one, two)) {
+       if (oideq(one, two)) {
                strbuf_release(&sb);
                return;
        }