Re: [PATCH v6 28/32] gc: style change -- no SP before closing bracket

From
Junio C Hamano <hidden>
Date
2016-06-15 23:01:54
Reply to
Eric Sunshine, 2016-06-15
On Wed, Jul 9, 2014 at 2:47 AM, Eric Sunshine [off-list ref] wrote:
On Wed, Jul 9, 2014 at 3:33 AM, Nguyễn Thái Ngọc Duy [off-list ref] wrote:

Yet, there is a space after the opening '{'. So, this is now
inconsistently formatted as:

    { foo, bar}
So, if we drop the other hunk and keep only the one below,
the patch needs to be retitled with s/bracket/parenthesis/...
quoted
@@ -298,7 +298,7 @@ int cmd_gc(int argc, const char **argv, const char *prefix)
        argv_array_pushl(&pack_refs_cmd, "pack-refs", "--all", "--prune", NULL);
        argv_array_pushl(&reflog, "reflog", "expire", "--all", NULL);
        argv_array_pushl(&repack, "repack", "-d", "-l", NULL);
-       argv_array_pushl(&prune, "prune", "--expire", NULL );
+       argv_array_pushl(&prune, "prune", "--expire", NULL);
        argv_array_pushl(&rerere, "rerere", "gc", NULL);

        git_config(gc_config, NULL);
--
1.9.1.346.ga2b5940
Thread (78 messages) 78 messages, 5 authors, last reply 2016-06-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help