-
- Downloads
Merge branch 'nd/no-the-index'
The more library-ish parts of the codebase learned to work on the in-core index-state instance that is passed in by their callers, instead of always working on the singleton "the_index" instance. * nd/no-the-index: (24 commits) blame.c: remove implicit dependency on the_index apply.c: remove implicit dependency on the_index apply.c: make init_apply_state() take a struct repository apply.c: pass struct apply_state to more functions resolve-undo.c: use the right index instead of the_index archive-*.c: use the right repository archive.c: avoid access to the_index grep: use the right index instead of the_index attr: remove index from git_attr_set_direction() entry.c: use the right index instead of the_index submodule.c: use the right index instead of the_index pathspec.c: use the right index instead of the_index unpack-trees: avoid the_index in verify_absent() unpack-trees: convert clear_ce_flags* to avoid the_index unpack-trees: don't shadow global var the_index unpack-trees: add a note about path invalidation unpack-trees: remove 'extern' on function declaration ls-files: correct index argument to get_convert_attr_ascii() preload-index.c: use the right index instead of the_index dir.c: remove an implicit dependency on the_index in pathspec code ...
No related branches found
No related tags found
Showing
- apply.c 38 additions, 28 deletionsapply.c
- apply.h 4 additions, 0 deletionsapply.h
- archive-tar.c 1 addition, 1 deletionarchive-tar.c
- archive-zip.c 1 addition, 1 deletionarchive-zip.c
- archive.c 30 additions, 17 deletionsarchive.c
- archive.h 13 additions, 3 deletionsarchive.h
- attr.c 31 additions, 21 deletionsattr.c
- attr.h 7 additions, 4 deletionsattr.h
- blame.c 31 additions, 21 deletionsblame.c
- blame.h 1 addition, 0 deletionsblame.h
- builtin/add.c 3 additions, 3 deletionsbuiltin/add.c
- builtin/am.c 1 addition, 1 deletionbuiltin/am.c
- builtin/apply.c 1 addition, 1 deletionbuiltin/apply.c
- builtin/archive.c 1 addition, 1 deletionbuiltin/archive.c
- builtin/blame.c 1 addition, 0 deletionsbuiltin/blame.c
- builtin/cat-file.c 1 addition, 1 deletionbuiltin/cat-file.c
- builtin/check-attr.c 3 additions, 3 deletionsbuiltin/check-attr.c
- builtin/checkout-index.c 1 addition, 0 deletionsbuiltin/checkout-index.c
- builtin/checkout.c 1 addition, 1 deletionbuiltin/checkout.c
- builtin/clean.c 1 addition, 1 deletionbuiltin/clean.c
Please register or sign in to comment