| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| binary.c | ||
| blob.c | ||
| diff_helpers.c | ||
| diff_helpers.h | ||
| diffiter.c | ||
| drivers.c | ||
| format_email.c | ||
| index.c | ||
| notify.c | ||
| parse.c | ||
| patch.c | ||
| patchid.c | ||
| pathspec.c | ||
| racediffiter.c | ||
| rename.c | ||
| stats.c | ||
| submodules.c | ||
| tree.c | ||
| workdir.c |
The diff driver truncates the hunk header text to 80 bytes, which can truncate 4-byte Unicode characters and introduce garbage characters in the diff output. This change sanitizes the hunk header before it is displayed. This mirrors the test in git: https://github.com/git/git/blob/master/t/t4025-hunk-header.sh Closes https://github.com/libgit2/rugged/issues/716
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| binary.c | Loading commit data... | |
| blob.c | Loading commit data... | |
| diff_helpers.c | Loading commit data... | |
| diff_helpers.h | Loading commit data... | |
| diffiter.c | Loading commit data... | |
| drivers.c | Loading commit data... | |
| format_email.c | Loading commit data... | |
| index.c | Loading commit data... | |
| notify.c | Loading commit data... | |
| parse.c | Loading commit data... | |
| patch.c | Loading commit data... | |
| patchid.c | Loading commit data... | |
| pathspec.c | Loading commit data... | |
| racediffiter.c | Loading commit data... | |
| rename.c | Loading commit data... | |
| stats.c | Loading commit data... | |
| submodules.c | Loading commit data... | |
| tree.c | Loading commit data... | |
| workdir.c | Loading commit data... |