describe: trivial style fixes

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Felipe Contreras committed Oct 31, 2013 at 03:25 UTC c44726438fbdb193c86ee68d53933597a2e10dcb
1 file changed +3 -4
builtin/describe.c
+3 -4
@@ -9,7 +9,7 @@
9 #include "hash.h"
10 #include "argv-array.h"
11
12 -#define SEEN (1u<<0)
12 +#define SEEN (1u << 0)
13 #define MAX_TAGS (FLAG_BITS - 1)
14
15 static const char * const describe_usage[] = {
@@ -36,7 +36,6 @@ static const char *diff_index_args[] = {
36 "diff-index", "--quiet", "HEAD", "--", NULL
37 };
38
39 -
39 struct commit_name {
40 struct commit_name *next;
41 unsigned char peeled[20];
@@ -46,6 +45,7 @@ struct commit_name {
45 unsigned char sha1[20];
46 char *path;
47 };
48 +
49 static const char *prio_names[] = {
50 "head", "lightweight", "annotated",
51 };
@@ -488,9 +488,8 @@ int cmd_describe(int argc, const char **argv, const char *prefix)
488 } else if (dirty) {
489 die(_("--dirty is incompatible with commit-ishes"));
490 } else {
491 - while (argc-- > 0) {
491 + while (argc-- > 0)
492 describe(*argv++, argc == 0);
493 - }
493 }
494 return 0;
495 }