Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Added automatic index generation to fast-import.
[gitweb.git]
/
fetch-pack.c
diff --git
a/fetch-pack.c
b/fetch-pack.c
index e18c1489a1ab8620cade351ec502828b10a41ac4..377feded1ccafdece86499d1917d297145fd28ac 100644
(file)
--- a/
fetch-pack.c
+++ b/
fetch-pack.c
@@
-404,7
+404,7
@@
static int everything_local(struct ref **refs, int nr_match, char **match)
continue;
}
-
memcpy(ref->new_sha1, local, 20
);
+
hashcpy(ref->new_sha1, local
);
if (!verbose)
continue;
fprintf(stderr,