157 Commits (49aaddd102aff1f0fc986629f3dc22a872f202ce)

Author SHA1 Message Date
Junio C Hamano fe3403c320 ws_fix_copy(): move the whitespace fixing function to ws.c 17 years ago
Junio C Hamano 52f3c81a9d apply: do not barf on patch with too large an offset 17 years ago
Junio C Hamano a0ed3e6ade builtin-apply.c: guard config parser from value=NULL 17 years ago
Steffen Prohaska 21e5ad50fc safecrlf: Add mechanism to warn about irreversible crlf conversions 17 years ago
Junio C Hamano b2979ff599 core.whitespace: cr-at-eol 17 years ago
Junio C Hamano c1beba5b47 git-apply --whitespace=fix: fix whitespace fuzz introduced by previous run 17 years ago
Junio C Hamano c607aaa2f0 builtin-apply.c: pass ws_rule down to match_fragment() 17 years ago
Junio C Hamano ee810b7159 builtin-apply.c: move copy_wsfix() function a bit higher. 17 years ago
Junio C Hamano 42ab241cfa builtin-apply.c: do not feed copy_wsfix() leading '+' 17 years ago
Junio C Hamano 8441a9a842 builtin-apply.c: simplify calling site to apply_line() 17 years ago
Junio C Hamano 61e08ccacb builtin-apply.c: clean-up apply_one_fragment() 17 years ago
Junio C Hamano c330fdd42d builtin-apply.c: mark common context lines in lineinfo structure. 17 years ago
Junio C Hamano ecf4c2ec6b builtin-apply.c: optimize match_beginning/end processing a bit. 17 years ago
Junio C Hamano b94f2eda99 builtin-apply.c: make it more line oriented 17 years ago
Junio C Hamano dc41976a3e builtin-apply.c: push match-beginning/end logic down 17 years ago
Junio C Hamano fcb77bc57b builtin-apply.c: restructure "offset" matching 17 years ago
Junio C Hamano c89fb6b19a builtin-apply.c: refactor small part that matches context 17 years ago
Linus Torvalds 7a51ed66f6 Make on-disk index representation separate from in-core one 17 years ago
Brandon Casey 4ed7cd3ab0 Improve use of lockfile API 17 years ago
Junio C Hamano d8c3794503 "git-apply --check" should not report "fixed" 17 years ago
J. Bruce Fields b90ced0f7d builtin-apply: stronger indent-with-on-tab fixing 17 years ago
J. Bruce Fields 95f9b92700 builtin-apply: minor cleanup of whitespace detection 17 years ago
Wincent Colaiuta 45e2a4b2b0 Make "diff --check" output match "git apply" 17 years ago
Wincent Colaiuta c1795bb08a Unify whitespace checking 17 years ago
Junio C Hamano cf1b7869f0 Use gitattributes to define per-path whitespace rule 17 years ago
Junio C Hamano 91af7ae54f core.whitespace: documentation updates. 17 years ago
Junio C Hamano d5a4164140 builtin-apply: teach whitespace_rules 17 years ago
Junio C Hamano 81bf96bb2e builtin-apply: rename "whitespace" variables and fix styles 17 years ago
Guido Ostkamp a777e9ca54 Remove unreachable statements 17 years ago
Junio C Hamano 4bd5b7dacc ce_match_stat, run_diff_files: use symbolic constants for readability 17 years ago
René Scharfe c32f749fec Correct some sizeof(size_t) != sizeof(unsigned long) typing errors 17 years ago
Junio C Hamano f94bf44041 builtin-apply: fix conversion error in strbuf series 17 years ago
Pierre Habouzit 9a76adebd6 Make read_patch_file work on a strbuf. 17 years ago
Pierre Habouzit 387e7e19d7 strbuf_read_file enhancement, and use it. 17 years ago
Pierre Habouzit b315c5c081 strbuf change: be sure ->buf is never ever NULL. 17 years ago
Johannes Schindelin 26b2800768 apply: get rid of --index-info in favor of --build-fake-ancestor 18 years ago
Pierre Habouzit 663af3422a Full rework of quote_c_style and write_name_quoted. 18 years ago
Pierre Habouzit 7fb1011e61 Rework unquote_c_style to work on a strbuf. 18 years ago
Junio C Hamano ca0328354a builtin-apply.c: fix a tiny leak introduced during xmemdupz() conversion. 18 years ago
Pierre Habouzit 182af8343c Use xmemdupz() in many places. 18 years ago
Johannes Schindelin 7a98869935 apply: get rid of --index-info in favor of --build-fake-ancestor 18 years ago
Pierre Habouzit 3d845d7763 Fix lapsus in builtin-apply.c 18 years ago
J. Bruce Fields d7416ecac8 git-apply: fix whitespace stripping 18 years ago
Johannes Schindelin ece7b74903 apply --index-info: fall back to current index for mode changes 18 years ago
Pierre Habouzit c7f9cb1428 builtin-apply: use strbuf's instead of buffer_desc's. 18 years ago
Pierre Habouzit ba3ed09728 Now that cache.h needs strbuf.h, remove useless includes. 18 years ago
Pierre Habouzit 5ecd293d14 Rewrite convert_to_{git,working_tree} to use strbuf's. 18 years ago
Junio C Hamano 09d5dc32fb Simplify cache API 18 years ago
Pierre Habouzit f1696ee398 Strbuf API extensions and fixes. 18 years ago
Pierre Habouzit af6eb82262 Use strbuf API in apply, blame, commit-tree and diff 18 years ago