/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
diff-lib: convert do_diff_cache to struct object_id
[git/git.git]
/
builtin
/
am.c
diff --git
a/builtin/am.c
b/builtin/am.c
index
642d704
..
200d9db
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)