pack-objects: remove SP at the end of usage string

These spaces immediately before the end of lines are unnecessary.

While at it, instead of using a single string literal with backslashes
at end of each line, split the lines into individual string literals
and tell the compiler to concatenate them.

Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Thiago Farina 2009-09-18 12:11:52 -07:00 committed by Junio C Hamano
parent 1f986c4ac4
commit 812bdbc31b
1 changed files with 9 additions and 9 deletions

View File

@ -22,15 +22,15 @@
#include <pthread.h> #include <pthread.h>
#endif #endif


static const char pack_usage[] = "\ static const char pack_usage[] =
git pack-objects [{ -q | --progress | --all-progress }] \n\ "git pack-objects [{ -q | --progress | --all-progress }]\n"
[--max-pack-size=N] [--local] [--incremental] \n\ " [--max-pack-size=N] [--local] [--incremental]\n"
[--window=N] [--window-memory=N] [--depth=N] \n\ " [--window=N] [--window-memory=N] [--depth=N]\n"
[--no-reuse-delta] [--no-reuse-object] [--delta-base-offset] \n\ " [--no-reuse-delta] [--no-reuse-object] [--delta-base-offset]\n"
[--threads=N] [--non-empty] [--revs [--unpacked | --all]*] [--reflog] \n\ " [--threads=N] [--non-empty] [--revs [--unpacked | --all]*]\n"
[--stdout | base-name] [--include-tag] \n\ " [--reflog] [--stdout | base-name] [--include-tag]\n"
[--keep-unreachable | --unpack-unreachable] \n\ " [--keep-unreachable | --unpack-unreachable \n"
[<ref-list | <object-list]"; " [<ref-list | <object-list]";


struct object_entry { struct object_entry {
struct pack_idx_entry idx; struct pack_idx_entry idx;