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
/
add.c
Age
Commit message (
Expand
)
Author
Files
Lines
12 days
Merge branch 'ps/the-index-is-no-more'
Junio C Hamano
1
-24
/
+24
2024-04-22
add: plug a leak on interactive_add
Rubén Justo
1
-3
/
+6
2024-04-18
builtin: stop using `the_index`
Patrick Steinhardt
1
-24
/
+24
2024-04-15
Merge branch 'gt/add-u-commit-i-pathspec-check'
Junio C Hamano
1
-2
/
+9
2024-04-09
Merge branch 'rj/use-adv-if-enabled'
Junio C Hamano
1
-11
/
+7
2024-04-03
builtin/add: error out when passing untracked path with -u
Ghanshyam Thakkar
1
-1
/
+8
2024-04-03
revision: optionally record matches with pathspec elements
Junio C Hamano
1
-2
/
+2
2024-03-30
add: use advise_if_enabled for ADVICE_ADD_EMBEDDED_REPO
Rubén Justo
1
-3
/
+3
2024-03-30
add: use advise_if_enabled for ADVICE_ADD_EMPTY_PATHSPEC
Rubén Justo
1
-4
/
+2
2024-03-30
add: use advise_if_enabled for ADVICE_ADD_IGNORED_FILE
Rubén Justo
1
-4
/
+2
2024-03-07
Merge branch 'eg/add-uflags'
Junio C Hamano
1
-1
/
+1
2024-02-29
add: use unsigned type for collection of bits
Eugenio Gigante
1
-1
/
+1
2024-01-08
Merge branch 'en/header-cleanup'
Junio C Hamano
1
-3
/
+0
2023-12-26
treewide: remove unnecessary includes in source files
Elijah Newren
1
-3
/
+0
2023-11-04
attr: enable attr pathspec magic for git-add and git-stash
Joanna Wang
1
-3
/
+4
2023-10-30
Merge branch 'ni/die-message-fix-for-git-add'
Junio C Hamano
1
-5
/
+5
2023-10-17
builtin/add.c: clean up die() messages
Naomi Ibe
1
-5
/
+5
2023-09-13
Merge branch 'jk/unused-post-2.42-part2'
Junio C Hamano
1
-0
/
+2
2023-09-05
parse-options: add more BUG_ON() annotations
Jeff King
1
-0
/
+2
2023-08-21
diff: drop useless return from run_diff_{files,index} functions
Jeff King
1
-2
/
+1
2023-07-06
Merge branch 'gc/config-context'
Junio C Hamano
1
-2
/
+6
2023-06-29
Merge branch 'en/header-split-cache-h-part-3'
Junio C Hamano
1
-97
/
+8
2023-06-28
config: add ctx arg to config_fn_t
Glen Choo
1
-2
/
+3
2023-06-28
config: inline git_color_default_config
Glen Choo
1
-1
/
+4
2023-06-22
Merge branch 'ds/add-i-color-configuration-fix'
Junio C Hamano
1
-1
/
+1
2023-06-21
diff.h: remove unnecessary include of oidset.h
Elijah Newren
1
-0
/
+1
2023-06-21
repository: remove unnecessary include of path.h
Elijah Newren
1
-0
/
+1
2023-06-21
cache.h: remove this no-longer-used header
Elijah Newren
1
-2
/
+1
2023-06-21
read-cache*.h: move declarations for read-cache.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-06-21
preload-index.h: move declarations for preload-index.c from elsewhere
Elijah Newren
1
-0
/
+1
2023-06-21
read-cache: move shared add/checkout/commit code
Elijah Newren
1
-100
/
+0
2023-06-21
add: modify add_files_to_cache() to avoid globals
Elijah Newren
1
-7
/
+15
2023-06-12
add: check color.ui for interactive add
Derrick Stolee
1
-1
/
+1
2023-04-11
editor: move editor-related functions and declarations into common file
Elijah Newren
1
-0
/
+1
2023-04-11
treewide: be explicit about dependence on advice.h
Elijah Newren
1
-0
/
+1
2023-03-21
treewide: be explicit about dependence on gettext.h
Elijah Newren
1
-0
/
+1
2023-02-06
add API: remove run_add_interactive() wrapper function
Ævar Arnfjörð Bjarmason
1
-27
/
+4
2023-02-06
add: remove "add.interactive.useBuiltin" & Perl "git add--interactive"
Ævar Arnfjörð Bjarmason
1
-43
/
+23
2022-12-26
Merge branch 'jk/unused-post-2.39'
Junio C Hamano
1
-1
/
+1
2022-12-14
Merge branch 'ab/various-leak-fixes'
Junio C Hamano
1
-1
/
+1
2022-12-13
diff: mark unused parameters in callbacks
Jeff King
1
-1
/
+1
2022-11-21
built-ins: use free() not UNLEAK() if trivial, rm dead code
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2022-11-21
cocci: apply "pending" index-compatibility to some "builtin/*.c"
Ævar Arnfjörð Bjarmason
1
-4
/
+4
2022-11-21
cocci & cache.h: apply variable section of "pending" index-compatibility
Ævar Arnfjörð Bjarmason
1
-4
/
+4
2022-11-21
cocci & cache.h: remove rarely used "the_index" compat macros
Ævar Arnfjörð Bjarmason
1
-2
/
+3
2022-10-30
use child_process members "args" and "env" directly
René Scharfe
1
-10
/
+9
2022-06-07
Merge branch 'ab/plug-leak-in-revisions'
Junio C Hamano
1
-1
/
+2
2022-06-03
Merge branch 'ns/batch-fsync'
Junio C Hamano
1
-2
/
+11
2022-05-30
Merge branch 'js/use-builtin-add-i'
Junio C Hamano
1
-10
/
+5
2022-04-13
revisions API: have release_revisions() release "prune_data"
Ævar Arnfjörð Bjarmason
1
-1
/
+0
2022-04-13
revisions API users: use release_revisions() for "prune_data" users
Ævar Arnfjörð Bjarmason
1
-0
/
+1
2022-04-13
revisions API users: add straightforward release_revisions()
Ævar Arnfjörð Bjarmason
1
-0
/
+1
2022-04-06
builtin/add: add ODB transaction around add_files_to_cache
Neeraj Singh
1
-0
/
+9
2022-04-06
bulk-checkin: rebrand plug/unplug APIs as 'odb transactions'
Neeraj Singh
1
-2
/
+2
2022-01-27
add: remove support for `git-legacy-stash`
Johannes Schindelin
1
-14
/
+0
2022-01-05
i18n: turn even more messages into "cannot be used together" ones
Jean-Noël Avila
1
-1
/
+1
2022-01-05
i18n: factorize "--foo requires --bar" and the like
Jean-Noël Avila
1
-2
/
+2
2022-01-05
i18n: turn "options are incompatible" into "cannot be used together"
Jean-Noël Avila
1
-4
/
+4
2021-12-01
add -i: default to the built-in implementation
Johannes Schindelin
1
-10
/
+5
2021-11-25
run-command API users: use strvec_pushl(), not argv construction
Ævar Arnfjörð Bjarmason
1
-5
/
+2
2021-10-13
Merge branch 'ds/add-rm-with-sparse-index'
Junio C Hamano
1
-3
/
+29
2021-09-28
add: update --renormalize to skip sparse paths
Derrick Stolee
1
-1
/
+3
2021-09-28
add: update --chmod to skip sparse paths
Derrick Stolee
1
-1
/
+3
2021-09-28
add: implement the --sparse option
Derrick Stolee
1
-4
/
+8
2021-09-28
add: skip tracked paths outside sparse-checkout cone
Derrick Stolee
1
-0
/
+4
2021-09-28
add: fail when adding an untracked sparse file
Derrick Stolee
1
-0
/
+14
2021-09-20
Merge branch 'ds/sparse-index-ignored-files'
Junio C Hamano
1
-6
/
+1
2021-09-10
Merge branch 'ab/retire-advice-config'
Junio C Hamano
1
-5
/
+6
2021-09-08
Merge branch 'rs/xopen-reports-open-failures'
Junio C Hamano
1
-3
/
+1
2021-09-07
sparse-checkout: create helper methods
Derrick Stolee
1
-6
/
+1
2021-08-25
use xopen() to handle fatal open(2) failures
René Scharfe
1
-3
/
+1
2021-08-25
advice: remove use of global advice_add_embedded_repo
Ævar Arnfjörð Bjarmason
1
-3
/
+4
2021-08-25
advice: remove read uses of most global `advice_` variables
Ben Boeckel
1
-2
/
+2
2021-08-24
Merge branch 'ds/add-with-sparse-index'
Junio C Hamano
1
-3
/
+12
2021-08-10
Merge branch 'ds/add-with-sparse-index' into ds/sparse-index-ignored-files
Junio C Hamano
1
-3
/
+12
2021-07-29
add: remove ensure_full_index() with --renormalize
Derrick Stolee
1
-2
/
+0
2021-07-29
add: ignore outside the sparse-checkout in refresh()
Derrick Stolee
1
-1
/
+9
2021-07-29
add: allow operating on a sparse-only index
Derrick Stolee
1
-0
/
+3
2021-07-01
dir.[ch]: replace dir_init() with DIR_INIT
Ævar Arnfjörð Bjarmason
1
-2
/
+1
2021-05-14
Merge branch 'ow/no-dryrun-in-add-i'
Junio C Hamano
1
-0
/
+2
2021-05-07
Merge branch 'mt/add-rm-in-sparse-checkout'
Junio C Hamano
1
-14
/
+63
2021-05-07
add: die if both --dry-run and --interactive are given
Øystein Walle
1
-0
/
+2
2021-04-14
add: ensure full index
Derrick Stolee
1
-0
/
+2
2021-04-08
add: warn when asked to update SKIP_WORKTREE entries
Matheus Tavares
1
-14
/
+56
2021-04-08
pathspec: allow to ignore SKIP_WORKTREE entries on index matching
Matheus Tavares
1
-2
/
+4
2021-04-08
add: make --chmod and --renormalize honor sparse checkouts
Matheus Tavares
1
-0
/
+5
2021-04-08
add: include magic part of pathspec on --refresh error
Matheus Tavares
1
-1
/
+1
2021-02-24
add: propagate --chmod errors to exit status
Matheus Tavares
1
-4
/
+6
2021-02-24
add: mark --chmod error string for translation
Matheus Tavares
1
-1
/
+1
2021-02-24
add --chmod: don't update index when --dry-run is used
Matheus Tavares
1
-3
/
+9
2020-09-30
drop unused argc parameters
Jeff King
1
-2
/
+2
2020-09-08
add -i: use the built-in version when feature.experimental is set
Junio C Hamano
1
-3
/
+9
2020-08-18
dir: fix problematic API to avoid memory leaks
Elijah Newren
1
-2
/
+2
2020-07-30
strvec: rename struct fields
Jeff King
1
-1
/
+1
2020-07-28
strvec: convert builtin/ callers away from argv_array name
Jeff King
1
-7
/
+7
2020-07-28
strvec: rename files from argv-array to strvec
Jeff King
1
-1
/
+1
2020-04-28
Use OPT_CALLBACK and OPT_CALLBACK_F
Denton Liu
1
-2
/
+2
2020-02-14
Merge branch 'hw/advice-add-nothing'
Junio C Hamano
1
-2
/
+8
2020-02-06
add: change advice config variables used by the add API
Heba Waly
1
-4
/
+8
2020-02-05
Merge branch 'js/patch-mode-in-others-in-c'
Junio C Hamano
1
-4
/
+31
2020-01-15
add: use advise function to display hints
Heba Waly
1
-2
/
+4
2019-12-25
Merge branch 'js/add-p-in-c'
Junio C Hamano
1
-5
/
+10
2019-12-25
Merge branch 'am/pathspec-f-f-checkout'
Junio C Hamano
1
-19
/
+41
2019-12-21
built-in add -p: implement the "worktree" patch modes
Johannes Schindelin
1
-0
/
+2
2019-12-21
built-in add -p: implement the "checkout" patch modes
Johannes Schindelin
1
-2
/
+3
2019-12-21
legacy stash -p: respect the add.interactive.usebuiltin setting
Johannes Schindelin
1
-0
/
+14
2019-12-21
built-in add -p: implement the "stash" and "reset" patch modes
Johannes Schindelin
1
-0
/
+4
2019-12-21
built-in add -p: prepare for patch modes other than "stage"
Johannes Schindelin
1
-2
/
+8
2019-12-13
built-in add -i: start implementing the `patch` functionality in C
Johannes Schindelin
1
-5
/
+10
2019-12-04
add: support the --pathspec-from-file option
Alexandr Miloslavskiy
1
-4
/
+26
2019-12-04
cmd_add: prepare for next patch
Alexandr Miloslavskiy
1
-17
/
+17
2019-11-14
Start to implement a built-in version of `git add --interactive`
Johannes Schindelin
1
-0
/
+12
2019-04-10
add: error appropriately on repository with no commits
Kyle Meyer
1
-1
/
+2
2019-02-06
Merge branch 'nd/the-index-final'
Junio C Hamano
1
-0
/
+1
2019-02-05
Merge branch 'jk/add-ignore-errors-bit-assignment-fix'
Junio C Hamano
1
-1
/
+1
2019-01-29
Merge branch 'js/add-e-clear-patch-before-stating'
Junio C Hamano
1
-1
/
+1
2019-01-24
cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch
Nguyễn Thái Ngọc Duy
1
-0
/
+1
2019-01-17
add: use separate ADD_CACHE_RENORMALIZE flag
Jeff King
1
-1
/
+1
2019-01-15
add --edit: truncate the patch file
Johannes Schindelin
1
-1
/
+1
2018-12-09
Indent code with TABs
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2018-11-21
Merge branch 'nd/attr-pathspec-fix' into maint
Junio C Hamano
1
-1
/
+1
2018-11-03
add: speed up cmd_add() by utilizing read_cache_preload()
Ben Peart
1
-5
/
+4
2018-10-19
Merge branch 'nd/the-index'
Junio C Hamano
1
-2
/
+2
2018-09-24
Merge branch 'nd/attr-pathspec-fix'
Junio C Hamano
1
-1
/
+1
2018-09-21
revision.c: remove implicit dependency on the_index
Nguyễn Thái Ngọc Duy
1
-2
/
+2
2018-09-21
add: do not accept pathspec magic 'attr'
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2018-08-20
Merge branch 'nd/no-the-index'
Junio C Hamano
1
-3
/
+3
2018-08-17
Merge branch 'rs/parse-opt-lithelp'
Junio C Hamano
1
-1
/
+2
2018-08-13
dir.c: remove an implicit dependency on the_index in pathspec code
Nguyễn Thái Ngọc Duy
1
-3
/
+3
2018-08-03
parse-options: automatically infer PARSE_OPT_LITERAL_ARGHELP
René Scharfe
1
-3
/
+2
2018-08-03
add, update-index: fix --chmod argument help
René Scharfe
1
-1
/
+3
2018-05-30
Merge branch 'ma/lockfile-cleanup'
Junio C Hamano
1
-2
/
+1
2018-05-10
lock_file: move static locks into functions
Martin Ågren
1
-2
/
+1
2018-04-11
exec_cmd: rename to use dash in file name
Stefan Beller
1
-1
/
+1
2018-03-21
Merge branch 'ma/skip-writing-unchanged-index'
Junio C Hamano
1
-4
/
+3
2018-03-01
write_locked_index(): add flag to avoid writing unchanged index
Martin Ågren
1
-4
/
+3
2018-02-09
parse-options: let OPT__FORCE take optional flags argument
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2017-11-27
Merge branch 'tb/add-renormalize'
Junio C Hamano
1
-2
/
+26
2017-11-17
add: introduce "--renormalize"
Torsten Bögershausen
1
-2
/
+26
2017-11-01
diff: make struct diff_flags members lowercase
Brandon Williams
1
-2
/
+2
2017-11-01
diff: remove DIFF_OPT_SET macro
Brandon Williams
1
-2
/
+2
2017-10-31
add, reset: use DIFF_OPT_SET macro to set a diff flag
Brandon Williams
1
-1
/
+1
2017-09-08
add UNLEAK annotation for reducing leak false positives
Jeff King
1
-0
/
+2
2017-09-06
add: free leaked pathspec after add_files_to_cache()
Jeff King
1
-0
/
+1
2017-08-26
Merge branch 'bw/submodule-config-cleanup'
Junio C Hamano
1
-0
/
+1
2017-08-22
Merge branch 'rj/add-chmod-error-message'
Junio C Hamano
1
-3
/
+3
2017-08-09
builtin/add: add detail to a 'cannot chmod' error message
Ramsay Jones
1
-3
/
+3
2017-08-02
add, reset: ensure submodules can be added or reset
Brandon Williams
1
-0
/
+1
2017-06-24
Merge branch 'jk/warn-add-gitlink'
Junio C Hamano
1
-1
/
+45
2017-06-24
Merge branch 'bw/config-h'
Junio C Hamano
1
-0
/
+1
2017-06-15
config: don't include config.h by default
Brandon Williams
1
-0
/
+1
2017-06-15
add: warn when adding an embedded repository
Jeff King
1
-1
/
+45
2017-05-30
Merge branch 'bw/pathspec-sans-the-index'
Junio C Hamano
1
-4
/
+8
2017-05-12
pathspec: convert find_pathspecs_matching_against_index to take an index
Brandon Williams
1
-2
/
+2
2017-05-12
pathspec: remove PATHSPEC_STRIP_SUBMODULE_SLASH_EXPENSIVE flag
Brandon Williams
1
-2
/
+3
2017-05-10
submodule: add die_in_unpopulated_submodule function
Brandon Williams
1
-0
/
+3
2017-05-06
dir: convert fill_directory to take an index
Brandon Williams
1
-1
/
+1
2017-05-06
dir: convert is_excluded to take an index
Brandon Williams
1
-1
/
+1
2017-05-06
dir: convert dir_add* to take an index
Brandon Williams
1
-1
/
+2
2016-12-07
hold_locked_index(): align error handling with hold_lockfile_for_update()
Junio C Hamano
1
-1
/
+1
2016-09-15
add: modify already added files when --chmod is given
Thomas Gummerer
1
-19
/
+28
2016-06-07
add: add --chmod=+x / --chmod=-x options
Edward Thomson
1
-9
/
+24
2015-10-30
Merge branch 'jc/add-u-A-default-to-top'
Junio C Hamano
1
-7
/
+1
2015-10-24
add: simplify -u/-A without pathspec
Junio C Hamano
1
-7
/
+1
2015-08-12
Merge branch 'sb/remove-unused-var-from-builtin-add'
Junio C Hamano
1
-2
/
+0
2015-07-31
add: remove dead code
Stefan Beller
1
-2
/
+0
2015-06-25
Merge branch 'nd/diff-i-t-a'
Junio C Hamano
1
-1
/
+0
2015-06-23
Revert "diff-lib.c: adjust position of i-t-a entries in diff"
Junio C Hamano
1
-1
/
+0
2015-05-22
Merge branch 'jk/add-e-kill-editor'
Junio C Hamano
1
-1
/
+2
2015-05-12
add: check return value of launch_editor
Jeff King
1
-1
/
+2
2015-03-23
diff-lib.c: adjust position of i-t-a entries in diff
Nguyễn Thái Ngọc Duy
1
-0
/
+1
2015-01-14
standardize usage info string format
Alex Henrie
1
-1
/
+1
2014-11-21
add: ignore only ignored files
Michael J Gruber
1
-1
/
+1
2014-10-01
lockfile.h: extract new header file for the functions in lockfile.c
Michael Haggerty
1
-0
/
+1
2014-08-20
run-command: introduce CHILD_PROCESS_INIT
René Scharfe
1
-2
/
+1
2014-06-13
read-cache: new API write_locked_index instead of write_index/write_cache
Nguyễn Thái Ngọc Duy
1
-4
/
+2
2014-03-28
Merge branch 'fr/add-interactive-argv-array'
Junio C Hamano
1
-11
/
+10
2014-03-18
add: use struct argv_array in run_add_interactive()
Fabian Ruch
1
-11
/
+10
2014-03-07
Merge branch 'jc/add-2.0-ignore-removal'
Junio C Hamano
1
-57
/
+12
2014-03-07
Merge branch 'jn/add-2.0-u-A-sans-pathspec'
Junio C Hamano
1
-106
/
+9
2014-02-24
pathspec: convert some match_pathspec_depth() to dir_path_match()
Nguyễn Thái Ngọc Duy
1
-2
/
+1
2014-01-10
Merge branch 'nd/add-empty-fix'
Junio C Hamano
1
-1
/
+1
2013-12-26
add: don't complain when adding empty project root
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2013-12-06
Support pathspec magic :(exclude) and its short form :!
Nguyễn Thái Ngọc Duy
1
-1
/
+4
2013-09-17
Merge branch 'fc/trivial'
Junio C Hamano
1
-5
/
+5
2013-09-09
Merge branch 'nd/magic-pathspec'
Junio C Hamano
1
-7
/
+1
2013-09-09
Merge branch 'jl/submodule-mv'
Junio C Hamano
1
-88
/
+78
2013-09-05
add: lift the pathspec magic restriction on "add -p"
Nguyễn Thái Ngọc Duy
1
-7
/
+1
2013-08-30
add: trivial style cleanup
Felipe Contreras
1
-5
/
+5
2013-07-22
Merge branch 'mm/color-auto-default'
Junio C Hamano
1
-0
/
+1
2013-07-19
git add -e: Explicitly specify that patch should have no color
Andrew Wong
1
-0
/
+1
2013-07-15
parse_pathspec: accept :(icase)path syntax
Nguyễn Thái Ngọc Duy
1
-2
/
+4
2013-07-15
pathspec: support :(glob) syntax
Nguyễn Thái Ngọc Duy
1
-2
/
+7
2013-07-15
pathspec: support :(literal) syntax for noglob pathspec
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2013-07-15
remove match_pathspec() in favor of match_pathspec_depth()
Nguyễn Thái Ngọc Duy
1
-16
/
+14
2013-07-15
convert add_files_to_cache to take struct pathspec
Nguyễn Thái Ngọc Duy
1
-4
/
+7
2013-07-15
convert {read,fill}_directory to take struct pathspec
Nguyễn Thái Ngọc Duy
1
-1
/
+3
2013-07-15
convert refresh_index to take struct pathspec
Nguyễn Thái Ngọc Duy
1
-8
/
+7
2013-07-15
convert run_add_interactive to use struct pathspec
Nguyễn Thái Ngọc Duy
1
-16
/
+10
2013-07-15
add: convert to use parse_pathspec
Nguyễn Thái Ngọc Duy
1
-58
/
+45
[next]