Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pack-objects: use reachability bitmap index when generating non-stdout pack
[gitweb.git]
/
wt-status.c
diff --git
a/wt-status.c
b/wt-status.c
index c19b52ce8708ebe997f5bc728124a4653014543f..de62ab2149cfb75e0dab2e5093ece630ce49d913 100644
(file)
--- a/
wt-status.c
+++ b/
wt-status.c
@@
-432,7
+432,8
@@
static void wt_status_collect_changed_cb(struct diff_queue_struct *q,
d->worktree_status = p->status;
d->dirty_submodule = p->two->dirty_submodule;
if (S_ISGITLINK(p->two->mode))
- d->new_submodule_commits = !!hashcmp(p->one->sha1, p->two->sha1);
+ d->new_submodule_commits = !!oidcmp(&p->one->oid,
+ &p->two->oid);
}
}