diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-10-12 23:51:43 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-12 23:51:43 +0300 |
commit | 48939c572c68b06c9b89834c73743fa89a718652 (patch) | |
tree | 2af34021ed9877b06a3c2d6ea94e7d2e13e9bcf1 /builtin/fast-export.c | |
parent | f11b01bdd5c9c4c3d1ee83dcec5845c827bcb1f8 (diff) | |
parent | 2f040a96711aaa576ce983b962b4e92abfa238b4 (diff) |
Merge branch 'tk/fast-export-anonymized-tag-fix' into maint
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.c | 1 |
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); } } |