Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule-config: ban submodule urls that start with dash
[gitweb.git]
/
http-push.c
diff --git
a/http-push.c
b/http-push.c
index c91f40a610541d6201edf2a2c95b8fef203f3c2f..df969609beed88439845d9324b2fed15ff32b109 100644
(file)
--- a/
http-push.c
+++ b/
http-push.c
@@
-1017,7
+1017,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);
}