Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
index: make the index file format extensible.
[gitweb.git]
/
pack-objects.c
diff --git
a/pack-objects.c
b/pack-objects.c
index f7d621757a98e29373750819db66e99dbb3630b6..c0acc460bb9df0313e314eb2cf48363b2458082c 100644
(file)
--- a/
pack-objects.c
+++ b/
pack-objects.c
@@
-1231,7
+1231,7
@@
static void setup_progress_signal(void)
int main(int argc, char **argv)
{
SHA_CTX ctx;
- char line[
PATH_MAX + 20
];
+ char line[
40 + 1 + PATH_MAX + 2
];
int window = 10, depth = 10, pack_to_stdout = 0;
struct object_entry **list;
int num_preferred_base = 0;