index
:
git.git
main
maint
master
next
seen
todo
The core git plumbing
Junio C. Hamano
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
builtin
/
apply.c
Age
Commit message (
Expand
)
Author
Files
Lines
2023-12-26
treewide: remove unnecessary includes in source files
Elijah Newren
1
-1
/
+0
2023-06-21
cache.h: remove this no-longer-used header
Elijah Newren
1
-1
/
+0
2023-04-24
hash-ll.h: split out of hash.h to remove dependency on repository.h
Elijah Newren
1
-0
/
+1
2023-03-21
treewide: be explicit about dependence on gettext.h
Elijah Newren
1
-0
/
+1
2022-04-06
apply.c: remove unnecessary include
Garrit Franke
1
-1
/
+0
2018-08-13
apply.c: make init_apply_state() take a struct repository
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2017-10-06
apply: move lockfile into `apply_state`
Martin Ågren
1
-3
/
+1
2016-09-07
apply: refactor `git apply` option parsing
Christian Couder
1
-71
/
+3
2016-09-07
apply: make it possible to silently apply
Christian Couder
1
-1
/
+1
2016-09-07
apply: move libified code from builtin/apply.c to apply.{c,h}
Christian Couder
1
-4732
/
+1
2016-09-07
apply: rename and move opt constants to apply.h
Christian Couder
1
-7
/
+4
2016-09-07
builtin/apply: rename option parsing functions
Christian Couder
1
-20
/
+20
2016-09-07
builtin/apply: make create_one_file() return -1 on error
Christian Couder
1
-15
/
+21
2016-09-07
builtin/apply: make try_create_file() return -1 on error
Christian Couder
1
-11
/
+33
2016-08-11
builtin/apply: make write_out_results() return -1 on error
Christian Couder
1
-6
/
+21
2016-08-11
builtin/apply: make write_out_one_result() return -1 on error
Christian Couder
1
-22
/
+16
2016-08-11
builtin/apply: make create_file() return -1 on error
Christian Couder
1
-12
/
+13
2016-08-11
builtin/apply: make add_index_file() return -1 on error
Christian Couder
1
-17
/
+31
2016-08-11
builtin/apply: make add_conflicted_stages_file() return -1 on error
Christian Couder
1
-7
/
+13
2016-08-11
builtin/apply: make remove_file() return -1 on error
Christian Couder
1
-6
/
+11
2016-08-11
builtin/apply: make build_fake_ancestor() return -1 on error
Christian Couder
1
-15
/
+26
2016-08-11
builtin/apply: change die_on_unsafe_path() to check_unsafe_path()
Christian Couder
1
-11
/
+21
2016-08-11
builtin/apply: make gitdiff_*() return -1 on error
Christian Couder
1
-19
/
+21
2016-08-11
builtin/apply: make gitdiff_*() return 1 at end of header
Christian Couder
1
-3
/
+9
2016-08-11
builtin/apply: make parse_traditional_patch() return -1 on error
Christian Couder
1
-6
/
+9
2016-08-11
builtin/apply: make apply_all_patches() return 128 or 1 on error
Christian Couder
1
-11
/
+26
2016-08-11
builtin/apply: move check_apply_state() to apply.c
Christian Couder
1
-32
/
+0
2016-08-11
builtin/apply: make check_apply_state() return -1 instead of die()ing
Christian Couder
1
-8
/
+11
2016-08-11
apply: make init_apply_state() return -1 instead of exit()ing
Christian Couder
1
-1
/
+2
2016-08-11
builtin/apply: move init_apply_state() to apply.c
Christian Couder
1
-91
/
+0
2016-08-11
builtin/apply: make parse_ignorewhitespace_option() return -1 instead of die(...
Christian Couder
1
-7
/
+7
2016-08-11
builtin/apply: make parse_whitespace_option() return -1 instead of die()ing
Christian Couder
1
-11
/
+12
2016-08-11
builtin/apply: make parse_single_patch() return -1 on error
Christian Couder
1
-4
/
+13
2016-08-11
builtin/apply: make parse_chunk() return a negative integer on error
Christian Couder
1
-8
/
+14
2016-08-11
builtin/apply: make find_header() return -128 instead of die()ing
Christian Couder
1
-12
/
+28
2016-08-11
builtin/apply: read_patch_file() return -1 instead of die()ing
Christian Couder
1
-3
/
+5
2016-08-11
builtin/apply: make apply_patch() return -1 or -128 instead of die()ing
Christian Couder
1
-15
/
+45
2016-08-11
apply: move 'struct apply_state' to apply.h
Christian Couder
1
-97
/
+1
2016-08-11
apply: make some names more specific
Christian Couder
1
-10
/
+10
2016-07-13
Merge branch 'va/i18n-even-more'
Junio C Hamano
1
-3
/
+3
2016-07-06
Merge branch 'jk/string-list-static-init'
Junio C Hamano
1
-0
/
+3
2016-06-27
Merge branch 'cc/apply-introduce-state'
Junio C Hamano
1
-609
/
+820
2016-06-17
i18n: standardise messages
Vasco Almeida
1
-3
/
+3
2016-06-13
use string_list initializer consistently
Jeff King
1
-3
/
+3
2016-06-06
builtin/apply: remove misleading comment on lock_file field
Junio C Hamano
1
-4
/
+1
2016-06-03
Merge branch 'rs/apply-name-terminate'
Junio C Hamano
1
-2
/
+2
2016-06-03
builtin/apply: move 'newfd' global into 'struct apply_state'
Christian Couder
1
-4
/
+5
2016-06-03
builtin/apply: add 'lock_file' pointer into 'struct apply_state'
Christian Couder
1
-4
/
+15
2016-06-01
builtin/apply: move applying patches into apply_all_patches()
Christian Couder
1
-58
/
+71
2016-06-01
builtin/apply: move 'state' check into check_apply_state()
Christian Couder
1
-23
/
+29
2016-06-01
builtin/apply: move 'symlink_changes' global into 'struct apply_state'
Christian Couder
1
-22
/
+28
2016-06-01
builtin/apply: move 'fn_table' global into 'struct apply_state'
Christian Couder
1
-22
/
+25
2016-06-01
builtin/apply: move 'state_linenr' global into 'struct apply_state'
Christian Couder
1
-35
/
+36
2016-06-01
builtin/apply: move 'max_change' and 'max_len' into 'struct apply_state'
Christian Couder
1
-24
/
+25
2016-06-01
builtin/apply: move 'ws_ignore_action' into 'struct apply_state'
Christian Couder
1
-17
/
+20
2016-06-01
builtin/apply: move 'ws_error_action' into 'struct apply_state'
Christian Couder
1
-28
/
+33
2016-06-01
builtin/apply: move 'applied_after_fixing_ws' into 'struct apply_state'
Christian Couder
1
-5
/
+5
2016-06-01
builtin/apply: move 'squelch_whitespace_errors' into 'struct apply_state'
Christian Couder
1
-11
/
+11
2016-06-01
builtin/apply: remove whitespace_option arg from set_default_whitespace_mode()
Christian Couder
1
-5
/
+4
2016-06-01
builtin/apply: move 'whitespace_option' into 'struct apply_state'
Christian Couder
1
-7
/
+6
2016-06-01
builtin/apply: move 'whitespace_error' global into 'struct apply_state'
Christian Couder
1
-13
/
+15
2016-06-01
builtin/apply: move 'root' global into 'struct apply_state'
Christian Couder
1
-33
/
+49
2016-06-01
builtin/apply: move 'p_value_known' global into 'struct apply_state'
Christian Couder
1
-5
/
+4
2016-06-01
builtin/apply: move 'p_value' global into 'struct apply_state'
Christian Couder
1
-52
/
+99
2016-06-01
builtin/apply: move 'has_include' global into 'struct apply_state'
Christian Couder
1
-3
/
+3
2016-06-01
builtin/apply: move 'limit_by_name' global into 'struct apply_state'
Christian Couder
1
-10
/
+16
2016-06-01
builtin/apply: move 'patch_input_file' global into 'struct apply_state'
Christian Couder
1
-10
/
+17
2016-06-01
builtin/apply: move 'apply' global into 'struct apply_state'
Christian Couder
1
-14
/
+17
2016-06-01
builtin/apply: move 'p_context' global into 'struct apply_state'
Christian Couder
1
-3
/
+4
2016-06-01
builtin/apply: move 'fake_ancestor' global into 'struct apply_state'
Christian Couder
1
-8
/
+5
2016-06-01
builtin/apply: move 'line_termination' global into 'struct apply_state'
Christian Couder
1
-5
/
+9
2016-06-01
builtin/apply: move 'unsafe_paths' global into 'struct apply_state'
Christian Couder
1
-4
/
+4
2016-06-01
builtin/apply: move 'no_add' global into 'struct apply_state'
Christian Couder
1
-3
/
+3
2016-06-01
builtin/apply: move 'threeway' global into 'struct apply_state'
Christian Couder
1
-7
/
+7
2016-06-01
builtin/apply: move 'summary' global into 'struct apply_state'
Christian Couder
1
-4
/
+4
2016-06-01
builtin/apply: move 'numstat' global into 'struct apply_state'
Christian Couder
1
-5
/
+4
2016-06-01
builtin/apply: move 'diffstat' global into 'struct apply_state'
Christian Couder
1
-5
/
+6
2016-06-01
builtin/apply: move 'cached' global into 'struct apply_state'
Christian Couder
1
-16
/
+19
2016-06-01
builtin/apply: move 'allow_overlap' global into 'struct apply_state'
Christian Couder
1
-5
/
+6
2016-06-01
builtin/apply: move 'update_index' global into 'struct apply_state'
Christian Couder
1
-19
/
+26
2016-06-01
builtin/apply: move 'apply_verbosely' global into 'struct apply_state'
Christian Couder
1
-13
/
+13
2016-06-01
builtin/apply: move 'apply_with_reject' global into 'struct apply_state'
Christian Couder
1
-7
/
+7
2016-06-01
builtin/apply: move 'apply_in_reverse' global into 'struct apply_state'
Christian Couder
1
-19
/
+31
2016-06-01
builtin/apply: move 'check_index' global into 'struct apply_state'
Christian Couder
1
-29
/
+37
2016-06-01
builtin/apply: move 'check' global into 'struct apply_state'
Christian Couder
1
-7
/
+7
2016-06-01
builtin/apply: move 'unidiff_zero' global into 'struct apply_state'
Christian Couder
1
-18
/
+25
2016-06-01
builtin/apply: move 'state' init into init_apply_state()
Christian Couder
1
-10
/
+22
2016-05-29
apply: remove unused parameters from name_terminate()
René Scharfe
1
-2
/
+2
2016-05-12
builtin/apply: introduce 'struct apply_state' to start libifying
Christian Couder
1
-38
/
+56
2016-05-12
builtin/apply: move 'read_stdin' global into cmd_apply()
Christian Couder
1
-1
/
+1
2016-05-12
builtin/apply: move 'options' variable into cmd_apply()
Christian Couder
1
-1
/
+1
2016-05-12
builtin/apply: extract line_by_line_fuzzy_match() from match_fragment()
Christian Couder
1
-55
/
+71
2016-05-12
builtin/apply: avoid local variable shadowing 'len' parameter
Christian Couder
1
-10
/
+10
2016-05-12
builtin/apply: avoid parameter shadowing 'linenr' global
Christian Couder
1
-24
/
+24
2016-05-12
builtin/apply: avoid parameter shadowing 'p_value' global
Christian Couder
1
-17
/
+17
2016-05-12
builtin/apply: make gitdiff_verify_name() return void
Christian Couder
1
-13
/
+13
2016-04-13
Merge branch 'cc/apply'
Junio C Hamano
1
-15
/
+15
2016-04-01
builtin/apply: free patch when parse_chunk() fails
Christian Couder
1
-1
/
+3
2016-04-01
builtin/apply: handle parse_binary() failure
Christian Couder
1
-0
/
+7
2016-03-24
apply: report patch skipping in verbose mode
Nguyễn Thái Ngọc Duy
1
-0
/
+2
2016-03-22
apply: remove unused call to free() in gitdiff_{old,new}name()
Junio C Hamano
1
-6
/
+0
2016-03-22
builtin/apply: get rid of useless 'name' variable
Christian Couder
1
-8
/
+5
2016-02-26
Merge branch 'jk/tighten-alloc'
Junio C Hamano
1
-1
/
+1
2016-02-22
use st_add and st_mult for allocation size computation
Jeff King
1
-1
/
+1
2016-02-01
apply, ls-files: simplify "-z" parsing
Jeff King
1
-13
/
+3
2015-10-05
apply: convert root string to strbuf
Jeff King
1
-16
/
+10
2015-09-25
replace trivial malloc + sprintf / strcpy calls with xstrfmt
Jeff King
1
-4
/
+1
2015-09-14
Merge branch 'gb/apply-comment-typofix'
Junio C Hamano
1
-1
/
+1
2015-06-24
Merge branch 'jc/apply-reject-noop-hunk'
Junio C Hamano
1
-0
/
+3
2015-06-01
apply: reject a hunk that does not do anything
Junio C Hamano
1
-0
/
+3
2015-05-05
Merge branch 'bc/object-id'
Junio C Hamano
1
-7
/
+7
2015-03-23
builtin/apply.c: fix a memleak
Stefan Beller
1
-1
/
+3
2015-03-13
apply: convert threeway_stage to object_id
brian m. carlson
1
-7
/
+7
2015-03-03
Merge branch 'jc/apply-ws-fix-expands-report'
Junio C Hamano
1
-0
/
+3
2015-03-03
Merge branch 'jc/apply-beyond-symlink'
Junio C Hamano
1
-1
/
+141
2015-02-24
Merge branch 'jc/apply-ws-fix-expands' into maint
Junio C Hamano
1
-3
/
+28
2015-02-24
Merge branch 'jk/blame-commit-label' into maint
Junio C Hamano
1
-10
/
+5
2015-02-17
Merge branch 'jc/apply-ws-fix-expands'
Junio C Hamano
1
-3
/
+28
2015-02-11
Merge branch 'ah/usage-strings'
Junio C Hamano
1
-1
/
+1
2015-02-11
Merge branch 'jk/blame-commit-label'
Junio C Hamano
1
-10
/
+5
2015-02-10
apply: do not touch a file beyond a symbolic link
Junio C Hamano
1
-0
/
+112
2015-02-10
apply: do not read from beyond a symbolic link
Junio C Hamano
1
-0
/
+2
2015-02-10
apply: do not read from the filesystem under --index
Junio C Hamano
1
-1
/
+1
2015-02-10
apply: reject input that touches outside the working area
Junio C Hamano
1
-0
/
+26
2015-01-22
apply: detect and mark whitespace errors in context lines when fixing
Junio C Hamano
1
-0
/
+3
2015-01-22
apply: count the size of postimage correctly
Junio C Hamano
1
-2
/
+21
2015-01-22
apply: make update_pre_post_images() sanity check the given postlen
Junio C Hamano
1
-0
/
+6
2015-01-22
apply.c: typofix
Junio C Hamano
1
-1
/
+1
2015-01-14
standardize usage info string format
Alex Henrie
1
-1
/
+1
2015-01-13
builtin/apply.c: use xstrdup_or_null instead of null_strdup
Jeff King
1
-10
/
+5
2014-12-22
Merge branch 'mh/simplify-repack-without-refs'
Junio C Hamano
1
-1
/
+1
2014-12-12
Merge branch 'sv/typofix-apply-error-message'
Junio C Hamano
1
-1
/
+1
2014-11-25
sort_string_list(): rename to string_list_sort()
Michael Haggerty
1
-1
/
+1
2014-11-17
apply: fix typo in an error message
Slavomir Vlcek
1
-1
/
+1
2014-10-14
Merge branch 'rs/more-uses-of-skip-prefix'
Junio C Hamano
1
-1
/
+1
2014-10-07
use skip_prefix() to avoid more magic numbers
René Scharfe
1
-1
/
+1
2014-10-01
lockfile.h: extract new header file for the functions in lockfile.c
Michael Haggerty
1
-0
/
+1
2014-09-18
use REALLOC_ARRAY for changing the allocation size of arrays
René Scharfe
1
-1
/
+1
2014-09-11
Merge branch 'ta/config-set-2'
Junio C Hamano
1
-7
/
+5
2014-09-09
Merge branch 'jc/apply-ws-prefix'
Junio C Hamano
1
-63
/
+68
2014-08-13
builtin/apply.c: replace `git_config()` with `git_config_get_string_const()`
Tanay Abhra
1
-7
/
+5
2014-08-07
apply: omit ws check for excluded paths
Junio C Hamano
1
-3
/
+6
2014-08-07
apply: hoist use_patch() helper for path exclusion up
Junio C Hamano
1
-38
/
+43
2014-08-07
apply: use the right attribute for paths in non-Git patches
Junio C Hamano
1
-22
/
+19
2014-07-28
Merge branch 'jk/misc-fixes-maint'
Junio C Hamano
1
-1
/
+1
2014-07-24
apply: avoid possible bogus pointer
Jeff King
1
-1
/
+1
2014-07-21
Merge branch 'maint'
Junio C Hamano
1
-3
/
+1
2014-07-21
use xmemdupz() to allocate copies of strings given by start and length
René Scharfe
1
-3
/
+1
2014-07-16
Merge branch 'nd/split-index'
Junio C Hamano
1
-8
/
+9
2014-07-09
Merge branch 'jk/xstrfmt'
Junio C Hamano
1
-3
/
+1
2014-06-25
Merge branch 'jc/apply-ignore-whitespace' into maint
Junio C Hamano
1
-5
/
+7
2014-06-20
apply: use skip_prefix instead of raw addition
Jeff King
1
-2
/
+3
2014-06-19
use xstrfmt to replace xmalloc + strcpy/strcat
Jeff King
1
-3
/
+1
2014-06-13
entry.c: update cache_changed if refresh_cache is set in checkout_entry()
Nguyễn Thái Ngọc Duy
1
-3
/
+5
2014-06-13
read-cache: new API write_locked_index instead of write_index/write_cache
Nguyễn Thái Ngọc Duy
1
-5
/
+4
2014-06-03
Merge branch 'jc/apply-ignore-whitespace'
Junio C Hamano
1
-5
/
+7
2014-04-08
Merge branch 'jl/nor-or-nand-and'
Junio C Hamano
1
-1
/
+1
2014-03-31
comments: fix misuses of "nor"
Justin Lebar
1
-1
/
+1
2014-03-26
apply --ignore-space-change: lines with and without leading whitespaces do no...
Junio C Hamano
1
-5
/
+7
2014-03-14
Merge branch 'nd/no-more-fnmatch'
Junio C Hamano
1
-1
/
+1
2014-02-27
Merge branch 'ep/varscope'
Junio C Hamano
1
-6
/
+6
2014-02-20
use wildmatch() directly without fnmatch() wrapper
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2014-01-31
builtin/apply.c: reduce scope of variables
Elia Pinto
1
-6
/
+6
2013-12-05
replace {pre,suf}fixcmp() with {starts,ends}_with()
Christian Couder
1
-6
/
+6
2013-08-05
Replace deprecated OPT_BOOLEAN by OPT_BOOL
Stefan Beller
1
-12
/
+12
2013-07-22
Sync with Git 1.8.3.4
Junio C Hamano
1
-1
/
+1
2013-07-22
Merge branch 'nd/const-struct-cache-entry'
Junio C Hamano
1
-6
/
+7
2013-07-22
Merge branch 'tr/do-not-call-submodules-subprojects'
Junio C Hamano
1
-1
/
+1
2013-07-22
update URL to the marc.info mail archive
Ondřej Bílka
1
-1
/
+1
2013-07-19
apply.c::find_name_traditional(): do not initialize len to the line's length
Stefan Beller
1
-1
/
+1
2013-07-19
Merge branch 'rs/logical-vs-binary-or' into maint
Junio C Hamano
1
-1
/
+1
2013-07-18
apply, entry: speak of submodules instead of subprojects
Thomas Rast
1
-1
/
+1
2013-07-15
Merge branch 'tr/maint-apply-non-git-patch-parsefix' into maint
Junio C Hamano
1
-1
/
+1
2013-07-09
Convert "struct cache_entry *" to "const ..." wherever possible
Nguyễn Thái Ngọc Duy
1
-6
/
+7
2013-06-26
Merge branch 'tr/maint-apply-non-git-patch-parsefix'
Junio C Hamano
1
-1
/
+1
2013-06-21
apply: carefully strdup a possibly-NULL name
Thomas Rast
1
-1
/
+1
2013-06-13
use logical OR (||) instead of binary OR (|) in logical context
René Scharfe
1
-1
/
+1
2013-04-12
Sync with 'maint'
Junio C Hamano
1
-3
/
+3
2013-04-12
Correct common spelling mistakes in comments and tests
Stefano Lattarini
1
-3
/
+3
2013-04-03
Merge branch 'jc/apply-ws-fix-tab-in-indent'
Junio C Hamano
1
-6
/
+10
2013-03-22
apply --whitespace=fix: avoid running over the postimage buffer
Junio C Hamano
1
-6
/
+10
2013-02-14
Merge branch 'jc/extended-fake-ancestor-for-gitlink'
Junio C Hamano
1
-2
/
+38
2013-02-08
Merge branch 'jk/apply-similaritly-parsing'
Junio C Hamano
1
-4
/
+6
2013-02-05
Merge branch 'jc/fake-ancestor-with-non-blobs'
Junio C Hamano
1
-14
/
+16
2013-02-05
apply: verify submodule commit object name better
Junio C Hamano
1
-2
/
+38
2013-02-03
builtin/apply: tighten (dis)similarity index parsing
John Keeping
1
-4
/
+6
2013-01-31
apply: diagnose incomplete submodule object name better
Junio C Hamano
1
-1
/
+5
2013-01-31
apply: simplify build_fake_ancestor()
Junio C Hamano
1
-14
/
+12
2013-01-06
Merge branch 'jc/apply-trailing-blank-removal'
Junio C Hamano
1
-6
/
+17
2012-10-12
apply.c:update_pre_post_images(): the preimage can be truncated
Junio C Hamano
1
-6
/
+17
2012-09-12
Merge branch 'maint-1.7.11' into maint
Junio C Hamano
1
-25
/
+43
2012-09-12
Merge branch 'jc/apply-binary-p0' into maint-1.7.11
Junio C Hamano
1
-25
/
+43
2012-09-11
Sync with 1.7.11.6
Junio C Hamano
1
-1
/
+0
2012-09-11
Merge branch 'pg/maint-apply-remove-unused-variable' into maint-1.7.11
Junio C Hamano
1
-1
/
+0
2012-09-07
Merge branch 'jc/apply-binary-p0'
Junio C Hamano
1
-25
/
+43
2012-09-07
Merge branch 'nd/i18n-parseopt-help'
Junio C Hamano
1
-1
/
+1
2012-08-24
apply: compute patch->def_name correctly under -p0
Junio C Hamano
1
-25
/
+43
2012-08-22
Use imperative form in help usage to describe an action
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2012-08-22
Merge branch 'pg/maint-apply-remove-unused-variable'
Junio C Hamano
1
-1
/
+0
2012-08-05
apply: delete unused deflate_origlen from patch struct
Paul Gortmaker
1
-1
/
+0
[next]