Signed-off-by: Felipe Contreras <[email protected]>
---
builtin/fast-export.c | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/builtin/fast-export.c b/builtin/fast-export.c
index d60d675..8091354 100644
--- a/builtin/fast-export.c
+++ b/builtin/fast-export.c
@@ -135,7 +135,7 @@ static void export_blob(const unsigned char *sha1)
buf = read_sha1_file(sha1, &type, &size);
if (!buf)
- die ("Could not read blob %s", sha1_to_hex(sha1));
+ die("Could not read blob %s", sha1_to_hex(sha1));
if (check_sha1_signature(sha1, buf, size, typename(type)) < 0)
die("sha1 mismatch in blob %s", sha1_to_hex(sha1));
object = parse_object_buffer(sha1, type, size, buf, &eaten);
@@ -146,7 +146,7 @@ static void export_blob(const unsigned char *sha1)
printf("blob\nmark :%"PRIu32"\ndata %lu\n", last_idnum, size);
if (size && fwrite(buf, size, 1, stdout) != 1)
- die_errno ("Could not write blob '%s'", sha1_to_hex(sha1));
+ die_errno("Could not write blob '%s'", sha1_to_hex(sha1));
printf("\n");
show_progress();
@@ -289,13 +289,13 @@ static void handle_commit(struct commit *commit, struct
rev_info *rev)
parse_commit(commit);
author = strstr(commit->buffer, "\nauthor ");
if (!author)
- die ("Could not find author in commit %s",
+ die("Could not find author in commit %s",
sha1_to_hex(commit->object.sha1));
author++;
author_end = strchrnul(author, '\n');
committer = strstr(author_end, "\ncommitter ");
if (!committer)
- die ("Could not find committer in commit %s",
+ die("Could not find committer in commit %s",
sha1_to_hex(commit->object.sha1));
committer++;
committer_end = strchrnul(committer, '\n');
@@ -395,7 +395,7 @@ static void handle_tag(const char *name, struct tag *tag)
buf = read_sha1_file(tag->object.sha1, &type, &size);
if (!buf)
- die ("Could not read tag %s", sha1_to_hex(tag->object.sha1));
+ die("Could not read tag %s", sha1_to_hex(tag->object.sha1));
message = memmem(buf, size, "\n\n", 2);
if (message) {
message += 2;
@@ -421,11 +421,11 @@ static void handle_tag(const char *name, struct tag *tag)
if (signature)
switch(signed_tag_mode) {
case ABORT:
- die ("Encountered signed tag %s; use "
+ die("Encountered signed tag %s; use "
"--signed-tags=<mode> to handle it.",
sha1_to_hex(tag->object.sha1));
case WARN:
- warning ("Exporting signed tag %s",
+ warning("Exporting signed tag %s",
sha1_to_hex(tag->object.sha1));
/* fallthru */
case VERBATIM:
@@ -446,7 +446,7 @@ static void handle_tag(const char *name, struct tag *tag)
if (!tagged_mark) {
switch(tag_of_filtered_mode) {
case ABORT:
- die ("Tag %s tags unexported object; use "
+ die("Tag %s tags unexported object; use "
"--tag-of-filtered-object=<mode> to handle it.",
sha1_to_hex(tag->object.sha1));
case DROP:
@@ -454,7 +454,7 @@ static void handle_tag(const char *name, struct tag *tag)
return;
case REWRITE:
if (tagged->type != OBJ_COMMIT) {
- die ("Tag %s tags unexported %s!",
+ die("Tag %s tags unexported %s!",
sha1_to_hex(tag->object.sha1),
typename(tagged->type));
}
@@ -467,7 +467,7 @@ static void handle_tag(const char *name, struct tag *tag)
if (!(p->object.flags & TREESAME))
break;
if (!p->parents)
- die ("Can't find replacement commit for
tag %s\n",
+ die("Can't find replacement commit for
tag %s\n",
sha1_to_hex(tag->object.sha1));
p = p->parents->item;
}
@@ -677,7 +677,7 @@ int cmd_fast_export(int argc, const char **argv, const char
*prefix)
};
if (argc == 1)
- usage_with_options (fast_export_usage, options);
+ usage_with_options(fast_export_usage, options);
/* we handle encodings */
git_config(git_default_config, NULL);
@@ -689,7 +689,7 @@ int cmd_fast_export(int argc, const char **argv, const char
*prefix)
argc = setup_revisions(argc, argv, &revs, NULL);
argc = parse_options(argc, argv, prefix, options, fast_export_usage, 0);
if (argc > 1)
- usage_with_options (fast_export_usage, options);
+ usage_with_options(fast_export_usage, options);
if (use_done_feature)
printf("feature done\n");
--
1.8.3.rc1.553.gac13664
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html