summaryrefslogtreecommitdiff
path: root/ws.c
Commit message (Expand)AuthorAgeFilesLines
* ws.h: move declarations for ws.c functions from cache.hElijah Newren2023-04-241-1/+4
* treewide: be explicit about dependence on strbuf.hElijah Newren2023-04-241-0/+1
* Merge branch 'kn/attr-from-tree'Junio C Hamano2023-01-231-1/+1
|\
| * attr: add flag `--source` to work with tree-ishKarthik Nayak2023-01-141-1/+1
* | convert trivial uses of strncmp() to skip_prefix()Jeff King2023-01-081-3/+4
|/
* ws: drop unused parameter from ws_blank_line()Jeff King2022-12-131-1/+1
* Merge branch 'nd/the-index'Junio C Hamano2018-10-191-3/+2
|\
| * ws.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy2018-09-211-3/+2
* | Make git_check_attr() a void functionTorsten Bögershausen2018-09-121-24/+20
|/
* attr: remove an implicit dependency on the_indexNguyễn Thái Ngọc Duy2018-08-131-1/+1
* attr: convert git_check_attrs() callers to use the new APIJunio C Hamano2017-02-011-13/+6
* attr: rename function and struct related to checking attributesJunio C Hamano2017-02-011-3/+3
* use strchrnul() in place of strchr() and strlen()rm/strchrnul-not-strlenRohit Mani2014-03-101-5/+2
* Rename git_checkattr() to git_check_attr()Michael Haggerty2011-08-041-1/+1
* Make the tab width used for whitespace checks configurableJohannes Sixt2010-12-011-6/+16
* Merge branch 'js/maint-apply-tab-in-indent-fix' into HEADJunio C Hamano2010-12-011-1/+2
|\
| * apply --whitespace=fix: fix tab-in-indentJohannes Sixt2010-12-011-1/+2
* | diff: handle lines containing only whitespace and tabs betterKevin Ballard2010-10-201-3/+4
|/
* whitespace: add tab-in-indent support for --whitespace=fixChris Webb2010-04-041-0/+14
* whitespace: replumb ws_fix_copy to take a strbuf *dst instead of char *dstChris Webb2010-04-041-11/+8
* whitespace: add tab-in-indent error classChris Webb2010-04-021-5/+22
* whitespace: we cannot "catch all errors known to git" anymoreJunio C Hamano2010-04-021-2/+4
* git_attr(): fix function signatureJunio C Hamano2010-01-161-1/+1
* Merge branch 'jc/maint-1.6.0-blank-at-eof' (early part) into jc/maint-blank-a...Junio C Hamano2009-09-151-4/+15
|\
| * core.whitespace: split trailing-space into blank-at-{eol,eof}Junio C Hamano2009-09-051-9/+15
| * apply --whitespace=warn/error: diagnose blank at EOFJunio C Hamano2009-09-041-0/+6
* | Fix severe breakage in "git-apply --whitespace=fix"Junio C Hamano2009-07-251-2/+2
* | Trailing whitespace and no newline fixSZEDER Gábor2009-07-221-3/+2
* | attribute: whitespace set to true detects all errors known to gitJunio C Hamano2009-06-211-5/+7
* | Replace calls to strbuf_init(&foo, 0) with STRBUF_INIT initializerBrandon Casey2008-10-121-2/+1
|/
* Teach "diff --check" about new blank lines at endJunio C Hamano2008-06-261-0/+15
* check_and_emit_line(): rename and refactorJunio C Hamano2008-06-261-3/+15
* git-apply --whitespace=fix: fix off by one thinkoJunio C Hamano2008-02-261-1/+1
* ws_fix_copy(): move the whitespace fixing function to ws.cJunio C Hamano2008-02-231-0/+104
* core.whitespace: cr-at-eolJunio C Hamano2008-02-051-2/+13
* whitespace: more accurate initial-indent highlightingJ. Bruce Fields2007-12-161-8/+16
* whitespace: fix initial-indent checkingJ. Bruce Fields2007-12-161-6/+4
* whitespace: minor cleanupJ. Bruce Fields2007-12-161-12/+9
* whitespace: reorganize initial-indent checkJ. Bruce Fields2007-12-161-8/+7
* whitespace: fix off-by-one error in non-space-in-indent checkingJ. Bruce Fields2007-12-161-1/+1
* Use shorter error messages for whitespace problemsWincent Colaiuta2007-12-141-3/+3
* Unify whitespace checkingWincent Colaiuta2007-12-131-0/+105
* Use gitattributes to define per-path whitespace ruleJunio C Hamano2007-12-061-0/+96