136 Commits (aa54892f5ada8282643dc7387b33261c7135d784)

Author SHA1 Message Date
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 17 years ago
Pierre Habouzit 663af3422a Full rework of quote_c_style and write_name_quoted. 17 years ago
Pierre Habouzit 7fb1011e61 Rework unquote_c_style to work on a strbuf. 17 years ago
Junio C Hamano ca0328354a builtin-apply.c: fix a tiny leak introduced during xmemdupz() conversion. 17 years ago
Pierre Habouzit 182af8343c Use xmemdupz() in many places. 17 years ago
Johannes Schindelin 7a98869935 apply: get rid of --index-info in favor of --build-fake-ancestor 17 years ago
Pierre Habouzit 3d845d7763 Fix lapsus in builtin-apply.c 17 years ago
J. Bruce Fields d7416ecac8 git-apply: fix whitespace stripping 17 years ago
Johannes Schindelin ece7b74903 apply --index-info: fall back to current index for mode changes 17 years ago
Pierre Habouzit c7f9cb1428 builtin-apply: use strbuf's instead of buffer_desc's. 17 years ago
Pierre Habouzit ba3ed09728 Now that cache.h needs strbuf.h, remove useless includes. 17 years ago
Pierre Habouzit 5ecd293d14 Rewrite convert_to_{git,working_tree} to use strbuf's. 17 years ago
Junio C Hamano 09d5dc32fb Simplify cache API 17 years ago
Pierre Habouzit f1696ee398 Strbuf API extensions and fixes. 17 years ago
Pierre Habouzit af6eb82262 Use strbuf API in apply, blame, commit-tree and diff 17 years ago
Junio C Hamano 6b763c424e git-apply: do not read past the end of buffer 17 years ago
Sven Verdoolaege e06c5a6c7b git-apply: apply submodule changes 17 years ago
Linus Torvalds 93969438dc apply: remove directory that becomes empty by renaming the last file away 18 years ago
Johannes Schindelin 5fda48d67c Fix "apply --reverse" with regard to whitespace 18 years ago
Junio C Hamano c94bf41c9a git-apply: what is detected and fixed is not just trailing spaces. 18 years ago
Junio C Hamano 077e1af598 git-apply: Fix removal of new trailing blank lines. 18 years ago
Marco Costalba efe7f35861 Teach 'git-apply --whitespace=strip' to remove empty lines at the end of file 18 years ago
Johan Herland 8a912bcb25 Ensure return value from xread() is always stored into an ssize_t 18 years ago
Junio C Hamano 64cab59159 apply: do not get confused by symlinks in the middle 18 years ago
Alex Riesen ac78e54804 Simplify calling of CR/LF conversion routines 18 years ago
Alex Riesen 0afa7644f2 Fix overwriting of files when applying contextually independent diffs 18 years ago
Junio C Hamano 7da3bf372c Rename static variable write_index to update_index in builtin-apply.c 18 years ago
Shawn O. Pearce 79ee194e52 Honor -p<n> when applying git diffs 18 years ago
Junio C Hamano 30ca07a249 _GIT_INDEX_OUTPUT: allow plumbing to output to an alternative index file. 18 years ago
Junio C Hamano cc96fd092a git-apply: Do not free the wrong buffer when we convert the data for writeout 18 years ago
Shawn O. Pearce dc49cd769b Cast 64 bit off_t to 32 bit size_t 18 years ago
Johannes Sixt 78a8d641c1 Add core.symlinks to mark filesystems that do not support symbolic links. 18 years ago
Nicolas Pitre 21666f1aae convert object type handling from a string to a number 18 years ago