Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1_file: convert index_path and index_fd to struct object_id
[gitweb.git]
/
submodule.c
diff --git
a/submodule.c
b/submodule.c
index 63e7094e1620c2c3eb7dda0a8c38a833ae2d1c5a..3b7be4cafea323b1a29b6100e21661900634a121 100644
(file)
--- a/
submodule.c
+++ b/
submodule.c
@@
-1016,7
+1016,7
@@
int push_unpushed_submodules(struct oid_array *commits,
char *head;
struct object_id head_oid;
- head = resolve_refdup("HEAD", 0,
head_oid.hash
, NULL);
+ head = resolve_refdup("HEAD", 0,
&head_oid
, NULL);
if (!head)
die(_("Failed to resolve HEAD as a valid ref."));