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>2021-09-10 21:46:27 +0300
committerJunio C Hamano <gitster@pobox.com>2021-09-10 21:46:27 +0300
commitfebba8038de552c00f4f4e3f0a5975e31c31550f (patch)
tree18e1f73a1bab96299a935942dfc539e693d59707 /builtin/fast-export.c
parentcd6a1fc8a256076f1f64d08085f0a60233c823b8 (diff)
parent2f040a96711aaa576ce983b962b4e92abfa238b4 (diff)
Merge branch 'tk/fast-export-anonymized-tag-fix'
The output from "git fast-export", when its anonymization feature is in use, showed an annotated tag incorrectly. * tk/fast-export-anonymized-tag-fix: fast-export: fix anonymized tag using original length
Diffstat (limited to 'builtin/fast-export.c')
-rw-r--r--builtin/fast-export.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/fast-export.c b/builtin/fast-export.c
index 3c20f164f0..95e8e89e81 100644
--- a/builtin/fast-export.c
+++ b/builtin/fast-export.c
@@ -821,6 +821,7 @@ static void handle_tag(const char *name, struct tag *tag)
static struct hashmap tags;
message = anonymize_str(&tags, anonymize_tag,
message, message_size, NULL);
+ message_size = strlen(message);
}
}