builtin/commit.c: extract ignore_non_trailer() helper function
[gitweb.git] / builtin / stripspace.c
index e981dfb9f088cbbfdfb199700a6de17758bf1eca..1259ed708b6b5dd1322b6db5683cf5555f41570f 100644 (file)
@@ -89,11 +89,11 @@ int cmd_stripspace(int argc, const char **argv, const char *prefix)
 
        if (argc == 2) {
                if (!strcmp(argv[1], "-s") ||
-                       !strcmp(argv[1], "--strip-comments")) {
-                        strip_comments = 1;
+                   !strcmp(argv[1], "--strip-comments")) {
+                       strip_comments = 1;
                } else if (!strcmp(argv[1], "-c") ||
-                                        !strcmp(argv[1], "--comment-lines")) {
-                        mode = COMMENT_LINES;
+                          !strcmp(argv[1], "--comment-lines")) {
+                       mode = COMMENT_LINES;
                } else {
                        mode = INVAL;
                }