aboutsummaryrefslogtreecommitdiffstats
path: root/ws.c
AgeCommit message (Expand)AuthorFilesLines
2023-05-17Merge branch 'jc/attr-source-tree'Junio C Hamano1-1/+1
2023-05-06attr: teach "--attr-source=<tree>" global option to "git"John Cai1-1/+1
2023-04-24ws.h: move declarations for ws.c functions from cache.hElijah Newren1-1/+4
2023-04-24treewide: be explicit about dependence on strbuf.hElijah Newren1-0/+1
2023-01-23Merge branch 'kn/attr-from-tree'Junio C Hamano1-1/+1
2023-01-14attr: add flag `--source` to work with tree-ishKarthik Nayak1-1/+1
2023-01-08convert trivial uses of strncmp() to skip_prefix()Jeff King1-3/+4
2022-12-13ws: drop unused parameter from ws_blank_line()Jeff King1-1/+1
2018-10-19Merge branch 'nd/the-index'Junio C Hamano1-3/+2
2018-09-21ws.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-3/+2
2018-09-12Make git_check_attr() a void functionTorsten Bögershausen1-24/+20
2018-08-13attr: remove an implicit dependency on the_indexNguyễn Thái Ngọc Duy1-1/+1
2017-02-01attr: convert git_check_attrs() callers to use the new APIJunio C Hamano1-13/+6
2017-02-01attr: rename function and struct related to checking attributesJunio C Hamano1-3/+3
2014-03-10use strchrnul() in place of strchr() and strlen()Rohit Mani1-5/+2
2011-08-04Rename git_checkattr() to git_check_attr()Michael Haggerty1-1/+1
2010-12-01Make the tab width used for whitespace checks configurableJohannes Sixt1-6/+16
2010-12-01Merge branch 'js/maint-apply-tab-in-indent-fix' into HEADJunio C Hamano1-1/+2
2010-12-01apply --whitespace=fix: fix tab-in-indentJohannes Sixt1-1/+2
2010-10-20diff: handle lines containing only whitespace and tabs betterKevin Ballard1-3/+4
2010-04-04whitespace: add tab-in-indent support for --whitespace=fixChris Webb1-0/+14
2010-04-04whitespace: replumb ws_fix_copy to take a strbuf *dst instead of char *dstChris Webb1-11/+8
2010-04-02whitespace: add tab-in-indent error classChris Webb1-5/+22
2010-04-02whitespace: we cannot "catch all errors known to git" anymoreJunio C Hamano1-2/+4
2010-01-16git_attr(): fix function signatureJunio C Hamano1-1/+1
2009-09-15Merge branch 'jc/maint-1.6.0-blank-at-eof' (early part) into jc/maint-blank-a...Junio C Hamano1-4/+15
2009-09-05core.whitespace: split trailing-space into blank-at-{eol,eof}Junio C Hamano1-9/+15
2009-09-04apply --whitespace=warn/error: diagnose blank at EOFJunio C Hamano1-0/+6
2009-07-25Fix severe breakage in "git-apply --whitespace=fix"Junio C Hamano1-2/+2
2009-07-22Trailing whitespace and no newline fixSZEDER Gábor1-3/+2
2009-06-21attribute: whitespace set to true detects all errors known to gitJunio C Hamano1-5/+7
2008-10-12Replace calls to strbuf_init(&foo, 0) with STRBUF_INIT initializerBrandon Casey1-2/+1
2008-06-26Teach "diff --check" about new blank lines at endJunio C Hamano1-0/+15
2008-06-26check_and_emit_line(): rename and refactorJunio C Hamano1-3/+15
2008-02-26git-apply --whitespace=fix: fix off by one thinkoJunio C Hamano1-1/+1
2008-02-23ws_fix_copy(): move the whitespace fixing function to ws.cJunio C Hamano1-0/+104
2008-02-05core.whitespace: cr-at-eolJunio C Hamano1-2/+13
2007-12-16whitespace: more accurate initial-indent highlightingJ. Bruce Fields1-8/+16
2007-12-16whitespace: fix initial-indent checkingJ. Bruce Fields1-6/+4
2007-12-16whitespace: minor cleanupJ. Bruce Fields1-12/+9
2007-12-16whitespace: reorganize initial-indent checkJ. Bruce Fields1-8/+7
2007-12-16whitespace: fix off-by-one error in non-space-in-indent checkingJ. Bruce Fields1-1/+1
2007-12-14Use shorter error messages for whitespace problemsWincent Colaiuta1-3/+3
2007-12-13Unify whitespace checkingWincent Colaiuta1-0/+105
2007-12-06Use gitattributes to define per-path whitespace ruleJunio C Hamano1-0/+96