Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
unpack-objects -r: call it "recover".
[gitweb.git]
/
upload-pack.c
diff --git
a/upload-pack.c
b/upload-pack.c
index fcf279843ad23b0605f3c2bc558e8d04a903554b..51ce936b060d34a2f759dba4f7aeeecf47a59a4b 100644
(file)
--- a/
upload-pack.c
+++ b/
upload-pack.c
@@
-374,7
+374,7
@@
static int get_common_commits(void)
sha1_to_hex(sha1),
multi_ack ? " continue" : "");
if (multi_ack)
-
memcpy(last_sha1, sha1, 20
);
+
hashcpy(last_sha1, sha1
);
}
continue;
}