diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-08-21 13:46:57 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-08-21 13:46:57 -0700 |
| commit | c3c8b6910a7cd3d5a25522d3fd6925083048be24 (patch) | |
| tree | fe10d063c6c9f4d8d17e3eb10e35f16b5fed0173 /ident.c | |
| parent | 1fe6955fd4e0de21a5581376589c8df56fae6adf (diff) | |
| parent | 465eff81de44763832e96fbe609ec269f1c23ade (diff) | |
Merge branch 'ps/reflog-migrate-fixes'
"git refs migrate" to migrate the reflog entries from a refs
backend to another had a handful of bugs squashed.
* ps/reflog-migrate-fixes:
refs: fix invalid old object IDs when migrating reflogs
refs: stop unsetting REF_HAVE_OLD for log-only updates
refs/files: detect race when generating reflog entry for HEAD
refs: fix identity for migrated reflogs
ident: fix type of string length parameter
builtin/reflog: implement subcommand to write new entries
refs: export `ref_transaction_update_reflog()`
builtin/reflog: improve grouping of subcommands
Documentation/git-reflog: convert to use synopsis type
Diffstat (limited to 'ident.c')
| -rw-r--r-- | ident.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -272,7 +272,7 @@ static void strbuf_addstr_without_crud(struct strbuf *sb, const char *src) * can still be NULL if the input line only has the name/email part * (e.g. reading from a reflog entry). */ -int split_ident_line(struct ident_split *split, const char *line, int len) +int split_ident_line(struct ident_split *split, const char *line, size_t len) { const char *cp; size_t span; |
