Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
true built-in diff: run everything in-core.
[gitweb.git]
/
write-tree.c
diff --git
a/write-tree.c
b/write-tree.c
index f866059f24bacd314fa4a979334a9893dbfc19ba..addb5de3b6ea5a84ea71293aee5b50f1e70ea720 100644
(file)
--- a/
write-tree.c
+++ b/
write-tree.c
@@
-111,7
+111,7
@@
int main(int argc, char **argv)
funny = 0;
for (i = 0; i < entries; i++) {
struct cache_entry *ce = active_cache[i];
- if (
ntohs(ce->ce_flags) & ~CE_NAMEMASK
) {
+ if (
ce_stage(ce)
) {
if (10 < ++funny) {
fprintf(stderr, "...\n");
break;