Warning about conflict markers - undocumented 'diff --check' feature & suggestion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A bug report and a suggestion:

`git diff --check` has been warning about conflict markers since 2008:
https://marc.info/?l=git&m=122398500726634&w=2

This is an undocumented feature. The current documentation for the
flag only mentions "whitespace errors".

This check will also be useful in `git add`, to prevent accidental
staging of conflict markers.
Perhaps it could be included, if not by default, then at least with a
configuration setting.

Thoughts? Is this perhaps an existing feature that I'm missing? :)

-Ori
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]