X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=pack-objects.c;h=c3f25317bbe8f9920220ab276a7605eeab132fb9;hb=2c620a1ad1dce1e249d66ce18c7b1cce22d5d64c;hp=a62c9f8d185aabb9a719397ce6daeeaa61f6ce58;hpb=5e80092f7e6db09a40a62e837ca3f74f0bc5ad73;p=git.git diff --git a/pack-objects.c b/pack-objects.c index a62c9f8d..c3f25317 100644 --- a/pack-objects.c +++ b/pack-objects.c @@ -4,7 +4,7 @@ #include "pack.h" #include "csum-file.h" -static const char pack_usage[] = "git-pack-objects [--local] [--incremental] [--window=N] [--depth=N] {--stdout | base-name} < object-list"; +static const char pack_usage[] = "git-pack-objects [--non-empty] [--local] [--incremental] [--window=N] [--depth=N] {--stdout | base-name} < object-list"; struct object_entry { unsigned char sha1[20]; @@ -119,7 +119,7 @@ static unsigned long write_one(struct sha1file *f, return offset; e->offset = offset; offset += write_object(f, e); - /* if we are delitified, write out its base object. */ + /* if we are deltified, write out its base object. */ if (e->delta) offset = write_one(f, e->delta, offset); return offset;