Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
dir.c: fix missing dir invalidation in untracked code
[gitweb.git]
/
builtin
/
am.c
diff --git
a/builtin/am.c
b/builtin/am.c
index 02853b3e05bfef638963dbfe91a7eccf3d40b9e6..3d98e52085711abc6fa5ff9fd16d2828156df375 100644
(file)
--- a/
builtin/am.c
+++ b/
builtin/am.c
@@
-1433,7
+1433,7
@@
static void write_index_patch(const struct am_state *state)
if (!get_oid_tree("HEAD", &head))
tree = lookup_tree(&head);
else
- tree = lookup_tree(
&empty_tree_oid
);
+ tree = lookup_tree(
the_hash_algo->empty_tree
);
fp = xfopen(am_path(state, "patch"), "w");
init_revisions(&rev_info, NULL);