@matheusbsbs / matheus-bagliano / commits / 812bdbc31b
Fork 0

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>

Thiago Farina committed Sep 18, 2009 at 12:11 UTC 812bdbc31b246fcd5f3293e4dbac27eaec1ef4fa
1 file changed +9 -9
builtin-pack-objects.c
+9 -9
@@ -22,15 +22,15 @@
22 #include <pthread.h>
23 #endif
24
25 -static const char pack_usage[] = "\
26 -git pack-objects [{ -q | --progress | --all-progress }] \n\
27 - [--max-pack-size=N] [--local] [--incremental] \n\
28 - [--window=N] [--window-memory=N] [--depth=N] \n\
29 - [--no-reuse-delta] [--no-reuse-object] [--delta-base-offset] \n\
30 - [--threads=N] [--non-empty] [--revs [--unpacked | --all]*] [--reflog] \n\
31 - [--stdout | base-name] [--include-tag] \n\
32 - [--keep-unreachable | --unpack-unreachable] \n\
33 - [<ref-list | <object-list]";
25 +static const char pack_usage[] =
26 + "git pack-objects [{ -q | --progress | --all-progress }]\n"
27 + " [--max-pack-size=N] [--local] [--incremental]\n"
28 + " [--window=N] [--window-memory=N] [--depth=N]\n"
29 + " [--no-reuse-delta] [--no-reuse-object] [--delta-base-offset]\n"
30 + " [--threads=N] [--non-empty] [--revs [--unpacked | --all]*]\n"
31 + " [--reflog] [--stdout | base-name] [--include-tag]\n"
32 + " [--keep-unreachable | --unpack-unreachable \n"
33 + " [<ref-list | <object-list]";
34
35 struct object_entry {
36 struct pack_idx_entry idx;