Commit Graph

37 Commits (master)

Author SHA1 Message Date
Nguyễn Thái Ngọc Duy 26d024ecf0 ws.c: remove implicit dependency on the_index 4 years ago
Torsten Bögershausen d64324cb60 Make git_check_attr() a void function 4 years ago
Nguyễn Thái Ngọc Duy 7a400a2c02 attr: remove an implicit dependency on the_index 4 years ago
Junio C Hamano 2aef63d31c attr: convert git_check_attrs() callers to use the new API 6 years ago
Junio C Hamano 7bd18054d2 attr: rename function and struct related to checking attributes 6 years ago
Rohit Mani 2c5495f7b6 use strchrnul() in place of strchr() and strlen() 9 years ago
Michael Haggerty d932f4eb9f Rename git_checkattr() to git_check_attr() 11 years ago
Johannes Sixt f4b05a4947 Make the tab width used for whitespace checks configurable 12 years ago
Johannes Sixt d35711adc4 apply --whitespace=fix: fix tab-in-indent 12 years ago
Kevin Ballard cfd1a9849c diff: handle lines containing only whitespace and tabs better 12 years ago
Chris Webb 4e35c51e51 whitespace: add tab-in-indent support for --whitespace=fix 13 years ago
Chris Webb d511bd330d whitespace: replumb ws_fix_copy to take a strbuf *dst instead of char *dst 13 years ago
Chris Webb 3e3ec2abe0 whitespace: add tab-in-indent error class 13 years ago
Junio C Hamano 727c3718a5 whitespace: we cannot "catch all errors known to git" anymore 13 years ago
Junio C Hamano 7fb0eaa289 git_attr(): fix function signature 13 years ago
Junio C Hamano aeb84b05ae core.whitespace: split trailing-space into blank-at-{eol,eof} 13 years ago
Junio C Hamano 77b15bbd88 apply --whitespace=warn/error: diagnose blank at EOF 13 years ago
Junio C Hamano 422a82f213 Fix severe breakage in "git-apply --whitespace=fix" 13 years ago
SZEDER Gábor 735c674416 Trailing whitespace and no newline fix 13 years ago
Junio C Hamano a437900fd7 attribute: whitespace set to true detects all errors known to git 13 years ago
Brandon Casey f285a2d7ed Replace calls to strbuf_init(&foo, 0) with STRBUF_INIT initializer 14 years ago
Junio C Hamano 877f23ccb8 Teach "diff --check" about new blank lines at end 14 years ago
Junio C Hamano 8f8841e9c8 check_and_emit_line(): rename and refactor 14 years ago
Junio C Hamano c6fabfafbc git-apply --whitespace=fix: fix off by one thinko 15 years ago
Junio C Hamano fe3403c320 ws_fix_copy(): move the whitespace fixing function to ws.c 15 years ago
Junio C Hamano b2979ff599 core.whitespace: cr-at-eol 15 years ago
J. Bruce Fields ffe568859b whitespace: more accurate initial-indent highlighting 15 years ago
J. Bruce Fields 9afa2d4aa9 whitespace: fix initial-indent checking 15 years ago
J. Bruce Fields 954ecd4353 whitespace: minor cleanup 15 years ago
J. Bruce Fields 1020999a98 whitespace: reorganize initial-indent check 15 years ago
J. Bruce Fields 4d9697c787 whitespace: fix off-by-one error in non-space-in-indent checking 15 years ago
Wincent Colaiuta 420f4f04de Use shorter error messages for whitespace problems 15 years ago
Wincent Colaiuta c1795bb08a Unify whitespace checking 15 years ago
Junio C Hamano cf1b7869f0 Use gitattributes to define per-path whitespace rule 15 years ago