Name |
Last commit
|
Last update |
---|---|---|
.. | ||
drop.c | ||
messages.c | ||
reflog.c | ||
reflog_helpers.c | ||
reflog_helpers.h |
In previous versions, libgit2 could be coerced into writing reflog messages with embedded newlines into the reflog by using `git_stash_save` with a message containing newlines. While the root cause is fixed now, it was noticed that upstream git is in fact able to read such corrupted reflog messages just fine. Make the reflog parser more lenient in order to just skip over malformatted reflog lines to bring us in line with git. This requires us to change an existing test that verified that we do indeed _fail_ to parse such logs.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
drop.c | Loading commit data... | |
messages.c | Loading commit data... | |
reflog.c | Loading commit data... | |
reflog_helpers.c | Loading commit data... | |
reflog_helpers.h | Loading commit data... |