whitespace: have SP on both sides of an assignment "="
I've deliberately excluded the borrowed code in compat/nedmalloc directory. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Aug 25, 2011 at 14:46 UTC
cd2b8ae983a277fb3f3c2b2c6747b0a075af1421
4 files changed
+4
-4
builtin/remote.c
+1
-1
@@ -1113,7 +1113,7 @@ static int show(int argc, const char **argv)
1113
url = states.remote->url;
1114
url_nr = states.remote->url_nr;
1115
}
1116
- for (i=0; i < url_nr; i++)
1116
+ for (i = 0; i < url_nr; i++)
1117
printf(" Push URL: %s\n", url[i]);
1118
if (!i)
1119
printf(" Push URL: %s\n", "(no URL)");
commit.c
+1
-1
@@ -515,7 +515,7 @@ void sort_in_topological_order(struct commit_list ** list, int lifo)
515
516
commit = work_item->item;
517
for (parents = commit->parents; parents ; parents = parents->next) {
518
- struct commit *parent=parents->item;
518
+ struct commit *parent = parents->item;
519
520
if (!parent->indegree)
521
continue;
http-push.c
+1
-1
@@ -1655,7 +1655,7 @@ static int delete_remote_branch(const char *pattern, int force)
1655
return error("Remote HEAD is not a symref");
1656
1657
/* Remote branch must not be the remote HEAD */
1658
- for (i=0; symref && i<MAXDEPTH; i++) {
1658
+ for (i = 0; symref && i < MAXDEPTH; i++) {
1659
if (!strcmp(remote_ref->name, symref))
1660
return error("Remote branch %s is the current HEAD",
1661
remote_ref->name);
read-cache.c
+1
-1
@@ -1087,7 +1087,7 @@ static void show_file(const char * fmt, const char * name, int in_porcelain,
1087
{
1088
if (in_porcelain && *first && header_msg) {
1089
printf("%s\n", header_msg);
1090
- *first=0;
1090
+ *first = 0;
1091
}
1092
printf(fmt, name);
1093
}