Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff-lib: convert do_diff_cache to struct object_id
[gitweb.git]
/
builtin
/
am.c
diff --git
a/builtin/am.c
b/builtin/am.c
index 642d7047d9a02150992a3eb5d551543ddca2a77b..200d9dbed4644a87b2ba5ffc1d77585a4f0cd157 100644
(file)
--- a/
builtin/am.c
+++ b/
builtin/am.c
@@
-1145,7
+1145,7
@@
static int index_has_changes(struct strbuf *sb)
DIFF_OPT_SET(&opt, EXIT_WITH_STATUS);
if (!sb)
DIFF_OPT_SET(&opt, QUICK);
- do_diff_cache(
head.hash
, &opt);
+ do_diff_cache(
&head
, &opt);
diffcore_std(&opt);
for (i = 0; sb && i < diff_queued_diff.nr; i++) {
if (i)