Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix Windows-specific macro redefinition warning.
[gitweb.git]
/
upload-pack.c
diff --git
a/upload-pack.c
b/upload-pack.c
index fc79ddef255a49176acab52c6492c1086b4e6e44..92f9530c6572a212c12ac917d774736286325e52 100644
(file)
--- a/
upload-pack.c
+++ b/
upload-pack.c
@@
-482,7
+482,7
@@
static int get_common_commits(void)
static void receive_needs(void)
{
- struct object_array shallows =
{0, 0, NULL}
;
+ struct object_array shallows =
OBJECT_ARRAY_INIT
;
static char line[1000];
int len, depth = 0;