Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Documentation: convert SubmittingPatches to AsciiDoc
[gitweb.git]
/
http-push.c
diff --git
a/http-push.c
b/http-push.c
index d860c477c60e7baec79220d9f06330a139d0e035..493ee7d719d488f25cd6c45bb4c7ce1d5a75977b 100644
(file)
--- a/
http-push.c
+++ b/
http-push.c
@@
-1018,7
+1018,7
@@
static int get_oid_hex_from_objpath(const char *path, struct object_id *oid)
memcpy(hex, path, 2);
path += 2;
path++; /* skip '/' */
- memcpy(hex, path, GIT_SHA1_HEXSZ - 2);
+ memcpy(hex
+ 2
, path, GIT_SHA1_HEXSZ - 2);
return get_oid_hex(hex, oid);
}