112 Commits (ca0328354afbf4ec6941cb4312bfc6908ab06d73)

Author SHA1 Message Date
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
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
Junio C Hamano 63e50d492c git-apply: do not fix whitespaces on context lines. 18 years ago
Johannes Schindelin aeabfa0725 apply: make --verbose a little more useful 18 years ago
Junio C Hamano 3e8a5db966 git-apply: guess correct -p<n> value for non-git patches. 18 years ago
Junio C Hamano 9987d7c58a git-apply: notice "diff --git" patch again 18 years ago
Junio C Hamano 6c912f5b04 Fix botched "leak fix" 18 years ago
Junio C Hamano cc44c7655f Mechanical conversion to use prefixcmp() 18 years ago
Johannes Schindelin eac70c4f64 apply: fix memory leak in prefix_one() 18 years ago
Junio C Hamano 56185f49d0 git-apply: require -p<n> when working in a subdirectory. 18 years ago
Junio C Hamano aea1945744 git-apply: do not lose cwd when run from a subdirectory. 18 years ago
Junio C Hamano 700ea47936 Teach 'git apply' to look at $HOME/.gitconfig even outside of a repository 18 years ago
Junio C Hamano 6716027108 Teach core.autocrlf to 'git apply' 18 years ago
Junio C Hamano dc7b24364d Teach 'git apply' to look at $GIT_DIR/config 18 years ago
Junio C Hamano 185c975faa Do not take mode bits from index after type change. 18 years ago
Johannes Schindelin cd554bb173 apply --cached: fix crash in subdirectory 18 years ago
Alexandre Julliard d234b21c69 git-apply: Remove directories that have become empty after deleting a file. 18 years ago
Junio C Hamano 6534141151 Fix "Do not ignore a detected patchfile brokenness." 18 years ago
Junio C Hamano 5a17b54ad5 Do not ignore a detected patchfile brokenness. 18 years ago
Junio C Hamano 85023577a8 simplify inclusion of system header files. 18 years ago
Rene Scharfe 3dad11bfdb git-apply: slightly clean up bitfield usage 18 years ago
Junio C Hamano ef58d9587e apply --numstat: mark binary diffstat with - -, not 0 0 18 years ago
Shawn O. Pearce bf8675d314 Use ULONG_MAX rather than implicit cast of -1. 18 years ago