diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-11-05 13:30:45 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-05 13:37:19 -0800 |
| commit | 7bcd6efba82874cae3be035320108a77b68192f7 (patch) | |
| tree | bd1ebf241758e13c1175fb3ab33eb3ba8bb262ce /commit.c | |
| parent | diff: fix incorrect counting of line numbers (diff) | |
| download | git-7bcd6efba82874cae3be035320108a77b68192f7.tar.gz git-7bcd6efba82874cae3be035320108a77b68192f7.zip | |
diff: refactor output of incomplete line
Create a helper function that reacts to "\ No newline at the end of
file" in preparation for unifying the incomplete line handling in
the code path that handles xdiff output and the code path that
bypasses xdiff and produces complete rewrite patch.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
