]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jc/whitespace-incomplete-line' into next
authorJunio C Hamano <gitster@pobox.com>
Fri, 20 Feb 2026 19:42:09 +0000 (11:42 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Feb 2026 19:42:10 +0000 (11:42 -0800)
commit1d5f62e778ef66f776071b09d898430ab3bb1787
tree258531bf46d7befc7ecef7e5c67ed005a0ac27e7
parenta386d47625d33d4e9164c8e5bc440d4bacd7803d
parent6a41481c6de1cedb059930a710896c5ab2508a12
Merge branch 'jc/whitespace-incomplete-line' into next

It does not make much sense to apply the "incomplete-line"
whitespace rule to symbolic links, whose contents almost always
lack the final newline.  "git apply" and "git diff" are now taught
to exclude them for a change to symbolic links.

* jc/whitespace-incomplete-line:
  whitespace: symbolic links usually lack LF at the end
apply.c
diff.c