Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
completion: use __gitcomp_builtin in _git_branch
[gitweb.git]
/
diff-lib.c
diff --git
a/diff-lib.c
b/diff-lib.c
index 5173023cd3c3e4390e9ddc08e898d813f6a32093..8104603a3b36f2fd73761db34efde44d5938f68f 100644
(file)
--- a/
diff-lib.c
+++ b/
diff-lib.c
@@
-218,7
+218,7
@@
int run_diff_files(struct rev_info *revs, unsigned int option)
} else if (revs->diffopt.ita_invisible_in_index &&
ce_intent_to_add(ce)) {
diff_addremove(&revs->diffopt, '+', ce->ce_mode,
-
&empty_tree_oid
, 0,
+
the_hash_algo->empty_tree
, 0,
ce->name, 0);
continue;
}