git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Verbose Commit Ignore Line Fails via CRLF Line Endings
@ 2024-10-08 18:30 Spencer Fretwell
  2024-10-08 18:37 ` Spencer Fretwell
  2024-10-08 19:02 ` brian m. carlson
  0 siblings, 2 replies; 9+ messages in thread
From: Spencer Fretwell @ 2024-10-08 18:30 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 327 bytes --]

gc -v produces CRLF file which does not ignore verbose description.

OSX + git-annex (pre-commit hook disabled just in case)
using subl -w (sublime text 4) as editor, which indicated the change
in line endings
- committing as Unix fixes the issue (workaround, tedious)
- leaving as Windows is the issue

see attached bugreport

[-- Attachment #2: git-bugreport-2024-10-08-1220.txt --]
[-- Type: text/plain, Size: 1283 bytes --]

Thank you for filling out a Git bug report!
Please answer the following questions to help us understand your issue.

What did you do before the bug happened? (Steps to reproduce your issue)

- gc -v

What did you expect to happen? (Expected behavior)

- line endings respect OS
- gc without -v uses Unix line endings
- line ending is visible in sublime (editor = subl -w)

What happened instead? (Actual behavior)

- gc -v uses CRLF (Windows) line endings
- as seen in sublime (editor = subl -w)

What's different between what you expected and what actually happened?

- use of CRLF is leaving verbose output in commit message

Anything else you want to add:

Please review the rest of the bug report below.
You can delete any lines you don't wish to share.


[System Info]
git version:
git version 2.46.2
cpu: arm64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
libcurl: 8.4.0
zlib: 1.2.12
uname: Darwin 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:13:04 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6020 arm64
compiler info: clang: 15.0.0 (clang-1500.3.9.4)
libc info: no libc information available
$SHELL (typically, interactive shell): /bin/zsh


[Enabled Hooks]
post-checkout
post-merge
post-receive

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-10-11 17:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-08 18:30 Verbose Commit Ignore Line Fails via CRLF Line Endings Spencer Fretwell
2024-10-08 18:37 ` Spencer Fretwell
2024-10-08 19:09   ` brian m. carlson
2024-10-08 19:34     ` Spencer Fretwell
2024-10-08 19:52       ` brian m. carlson
2024-10-11  4:45         ` Torsten Bögershausen
     [not found]           ` <8f3922dd-83d3-4860-a25a-ce52d9d08d7c@mail.shortwave.com>
2024-10-11 16:10             ` Torsten Bögershausen
2024-10-11 17:59         ` Junio C Hamano
2024-10-08 19:02 ` brian m. carlson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).