Add "--show-all" revision walker flag for debugging
[gitweb.git] / builtin-commit.c
index a43f2019959a950639f013ff534610e228d8c149..717eb18da0e0cbe901dd8a660649388ccc0a24e1 100644 (file)
@@ -160,7 +160,7 @@ static int list_paths(struct path_list *list, const char *with_tree,
 
        for (i = 0; i < active_nr; i++) {
                struct cache_entry *ce = active_cache[i];
-               if (ce->ce_flags & htons(CE_UPDATE))
+               if (ce->ce_flags & CE_UPDATE)
                        continue;
                if (!pathspec_match(pattern, m, ce->name, 0))
                        continue;