Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-08-26 03:00:07 +0400
committerJunio C Hamano <gitster@pobox.com>2011-08-26 03:00:07 +0400
commit1952e102b702b977d6bdfcee7cb48b843cb92049 (patch)
tree33dc912c82c724e819bbf735acd9ef362ed68dfc /builtin
parentb7fcd007153b5021ed70ddc0a224127f14601bbc (diff)
parentcd2b8ae983a277fb3f3c2b2c6747b0a075af1421 (diff)
Merge branch 'maint'
* maint: whitespace: have SP on both sides of an assignment "=" update-ref: whitespace fix
Diffstat (limited to 'builtin')
-rw-r--r--builtin/remote.c2
-rw-r--r--builtin/update-ref.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/builtin/remote.c b/builtin/remote.c
index 05b1f5b76d..f2a9c26dc3 100644
--- a/builtin/remote.c
+++ b/builtin/remote.c
@@ -1103,7 +1103,7 @@ static int show(int argc, const char **argv)
url = states.remote->url;
url_nr = states.remote->url_nr;
}
- for (i=0; i < url_nr; i++)
+ for (i = 0; i < url_nr; i++)
printf(" Push URL: %s\n", url[i]);
if (!i)
printf(" Push URL: %s\n", "(no URL)");
diff --git a/builtin/update-ref.c b/builtin/update-ref.c
index 76ba1d5881..835c62ab15 100644
--- a/builtin/update-ref.c
+++ b/builtin/update-ref.c
@@ -11,7 +11,7 @@ static const char * const git_update_ref_usage[] = {
int cmd_update_ref(int argc, const char **argv, const char *prefix)
{
- const char *refname, *oldval, *msg=NULL;
+ const char *refname, *oldval, *msg = NULL;
unsigned char sha1[20], oldsha1[20];
int delete = 0, no_deref = 0, flags = 0;
struct option options[] = {