281 Commits (26597cb0cceb82b315c543f1cc02bbb72c537eaa)

Author SHA1 Message Date
Martin Ågren 6d058c8826 apply: move lockfile into `apply_state` 7 years ago
brian m. carlson d449347d08 Convert read_mmblob to take struct object_id. 8 years ago
brian m. carlson eb1c9c7328 builtin/apply: convert static functions to struct object_id 8 years ago
brian m. carlson 99d1a9861a cache: convert struct cache_entry to use struct object_id 8 years ago
Christian Couder 13b5af22f3 apply: move libified code from builtin/apply.c to apply.{c,h} 8 years ago
Christian Couder 7e1bad24e3 apply: refactor `git apply` option parsing 8 years ago
Christian Couder 803bf4e012 apply: rename and move opt constants to apply.h 8 years ago
Christian Couder da8e30dcd9 builtin/apply: rename option parsing functions 8 years ago
Christian Couder 603752a88d builtin/apply: make create_one_file() return -1 on error 8 years ago
Christian Couder 739d8a16b5 builtin/apply: make try_create_file() return -1 on error 8 years ago
Christian Couder a46160d27e apply: make it possible to silently apply 8 years ago
Christian Couder ccceb7bb13 builtin/apply: make write_out_results() return -1 on error 9 years ago
Christian Couder 434389deb1 builtin/apply: make write_out_one_result() return -1 on error 9 years ago
Christian Couder 8f5b5445d7 builtin/apply: make create_file() return -1 on error 9 years ago
Christian Couder 69e1609f81 builtin/apply: make add_index_file() return -1 on error 9 years ago
Christian Couder a902edceeb builtin/apply: make add_conflicted_stages_file() return -1 on error 9 years ago
Christian Couder 6e8df31469 builtin/apply: make remove_file() return -1 on error 9 years ago
Christian Couder fe41b80225 builtin/apply: make build_fake_ancestor() return -1 on error 9 years ago
Christian Couder 119ab159e6 builtin/apply: change die_on_unsafe_path() to check_unsafe_path() 9 years ago
Christian Couder dbf1b5fb6a builtin/apply: make gitdiff_*() return -1 on error 9 years ago
Christian Couder 70af7662d4 builtin/apply: make gitdiff_*() return 1 at end of header 9 years ago
Christian Couder 9724e6ff48 builtin/apply: make parse_traditional_patch() return -1 on error 9 years ago
Christian Couder fef7ba5353 builtin/apply: make apply_all_patches() return 128 or 1 on error 9 years ago
Christian Couder b6446d54ec builtin/apply: move check_apply_state() to apply.c 9 years ago
Christian Couder f36538d88b builtin/apply: make check_apply_state() return -1 instead of die()ing 9 years ago
Christian Couder 2f5a6d1218 apply: make init_apply_state() return -1 instead of exit()ing 9 years ago
Christian Couder bb493a5c14 builtin/apply: move init_apply_state() to apply.c 9 years ago
Christian Couder f95fdc256b builtin/apply: make parse_ignorewhitespace_option() return -1 instead of die()ing 9 years ago
Christian Couder aaf6c447aa builtin/apply: make parse_whitespace_option() return -1 instead of die()ing 9 years ago
Christian Couder dae197f753 builtin/apply: make parse_single_patch() return -1 on error 9 years ago
Christian Couder b654b34c1c builtin/apply: make parse_chunk() return a negative integer on error 9 years ago
Christian Couder 5950851e44 builtin/apply: make find_header() return -128 instead of die()ing 9 years ago
Christian Couder 3bee345d7b builtin/apply: read_patch_file() return -1 instead of die()ing 9 years ago
Christian Couder f07a9f7643 builtin/apply: make apply_patch() return -1 or -128 instead of die()ing 9 years ago
Christian Couder 71501a71d0 apply: move 'struct apply_state' to apply.h 9 years ago
Christian Couder 4d5acae0ca apply: make some names more specific 9 years ago
Vasco Almeida e923a8abe9 i18n: standardise messages 9 years ago
Jeff King 2721ce21e4 use string_list initializer consistently 9 years ago
Junio C Hamano a7d4c49a82 builtin/apply: remove misleading comment on lock_file field 9 years ago
Christian Couder a1bc3dd464 builtin/apply: move 'newfd' global into 'struct apply_state' 9 years ago
Christian Couder 8f31fac365 builtin/apply: add 'lock_file' pointer into 'struct apply_state' 9 years ago
Christian Couder 91b769c48f builtin/apply: move applying patches into apply_all_patches() 9 years ago
Christian Couder c84a86c995 builtin/apply: move 'state' check into check_apply_state() 9 years ago
Christian Couder 2f63cea963 builtin/apply: move 'symlink_changes' global into 'struct apply_state' 9 years ago
Christian Couder 71dac5cef5 builtin/apply: move 'fn_table' global into 'struct apply_state' 9 years ago
Christian Couder d7263d097c builtin/apply: move 'state_linenr' global into 'struct apply_state' 9 years ago
Christian Couder 1ffec303ab builtin/apply: move 'max_change' and 'max_len' into 'struct apply_state' 9 years ago
Christian Couder 10a9ddba2c builtin/apply: move 'ws_ignore_action' into 'struct apply_state' 9 years ago
Christian Couder e9c6b279b8 builtin/apply: move 'ws_error_action' into 'struct apply_state' 9 years ago
Christian Couder 7243f5f350 builtin/apply: move 'applied_after_fixing_ws' into 'struct apply_state' 9 years ago