summaryrefslogtreecommitdiffstats
path: root/pathspec.c
AgeCommit message (Expand)AuthorLines
2025-08-02string-list: split-then-remove-empty can be done while splittingJunio C Hamano-2/+1
2025-08-02string-list: align string_list_split() with its _in_place() counterpartJunio C Hamano-1/+1
2025-05-22pathspec: add flag to indicate operation without repositoryJacob Keller-1/+5
2025-04-01pathspec: fix sign comparison warningsArnav Bhate-15/+17
2024-12-06global: mark code units that generate warnings with `-Wsign-compare`Patrick Steinhardt-0/+1
2024-09-12environment: make `get_git_work_tree()` accept a repositoryPatrick Steinhardt-1/+1
2024-09-12environment: make `get_git_dir()` accept a repositoryPatrick Steinhardt-1/+1
2024-06-14global: introduce `USE_THE_REPOSITORY_VARIABLE` macroPatrick Steinhardt-0/+2
2023-11-04attr: enable attr pathspec magic for git-add and git-stashJoanna Wang-9/+30
2023-10-20grep: die gracefully when outside repositoryKristoffer Haugsbakk-1/+6
2023-09-29parse: separate out parsing functions from config.hCalvin Wan-1/+1
2023-06-21git-compat-util.h: remove unneccessary include of wildmatch.hElijah Newren-0/+1
2023-06-21cache.h: remove this no-longer-used headerElijah Newren-1/+1
2023-06-21read-cache*.h: move declarations for read-cache.c functions from cache.hElijah Newren-0/+1
2023-06-20Merge branch 'jk/log-follow-with-non-literal-pathspec'Junio C Hamano-7/+12
2023-06-03pathspec: factor out magic-to-name functionJeff King-7/+12
2023-05-17Merge branch 'jc/attr-source-tree'Junio C Hamano-1/+1
2023-05-06attr: teach "--attr-source=<tree>" global option to "git"John Cai-1/+1
2023-04-24hash-ll.h: split out of hash.h to remove dependency on repository.hElijah Newren-0/+1
2023-04-24symlinks.h: move declarations for symlinks.c functions from cache.hElijah Newren-0/+1
2023-03-21setup.h: move declarations for setup.c functions from cache.hElijah Newren-0/+1
2023-03-21environment.h: move declarations for environment.c functions from cache.hElijah Newren-0/+1
2023-03-21abspath.h: move absolute path functions from cache.hElijah Newren-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren-0/+1
2023-02-06docs & comments: replace mentions of "git-add--interactive.perl"Ævar Arnfjörð Bjarmason-1/+1
2023-01-23Merge branch 'kn/attr-from-tree'Junio C Hamano-1/+1
2023-01-14attr: add flag `--source` to work with tree-ishKarthik Nayak-1/+1
2023-01-09use DUP_ARRAYRené Scharfe-4/+2
2022-08-08pathspec.h: move pathspec_needs_expanded_index() from reset.c to hereShaoxuan Yuan-0/+89
2022-06-07Merge branch 'jc/all-negative-pathspec'Junio C Hamano-1/+1
2022-05-29pathspec: correct an empty string used as a pathspec elementJunio C Hamano-1/+1
2021-09-28add: skip tracked paths outside sparse-checkout coneDerrick Stolee-2/+3
2021-07-29pathspec: stop calling ensure_full_indexDerrick Stolee-2/+0
2021-05-07Merge branch 'mt/add-rm-in-sparse-checkout'Junio C Hamano-3/+22
2021-04-30Merge branch 'ds/sparse-index-protections'Junio C Hamano-3/+5
2021-04-14pathspec: ensure full indexDerrick Stolee-0/+2
2021-04-14*: remove 'const' qualifier for struct index_stateDerrick Stolee-3/+3
2021-04-08add: warn when asked to update SKIP_WORKTREE entriesMatheus Tavares-0/+15
2021-04-08pathspec: allow to ignore SKIP_WORKTREE entries on index matchingMatheus Tavares-3/+7
2021-03-13use CALLOC_ARRAYRené Scharfe-2/+2
2020-07-30strvec: rename struct fieldsJeff King-1/+1
2020-07-28strvec: convert remaining callers away from argv_array nameJeff King-3/+3
2020-07-28strvec: rename files from argv-array to strvecJeff King-1/+1
2020-03-15prefix_path: show gitdir if worktree unavailableEmily Shaffer-2/+6
2020-02-16prefix_path: show gitdir when arg is outside repoEmily Shaffer-1/+2
2019-11-20pathspec: add new function to parse fileAlexandr Miloslavskiy-0/+38
2019-02-06Merge branch 'nd/the-index-final'Junio C Hamano-1/+0
2019-01-24cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy-1/+0
2018-11-19dir.c: move, rename and export match_attrs()Nguyễn Thái Ngọc Duy-0/+38
2018-08-13pathspec.c: use the right index instead of the_indexNguyễn Thái Ngọc Duy-1/+1