95 Commits (59e1205d167c9acc17114a2f96425325470b1db8)

Author SHA1 Message Date
Jeff King d70a9eb611 strvec: rename struct fields 4 years ago
Jeff King c972bf4cf5 strvec: convert remaining callers away from argv_array name 4 years ago
Jeff King dbbcd44fb4 strvec: rename files from argv-array to strvec 4 years ago
Emily Shaffer 5c20398699 prefix_path: show gitdir if worktree unavailable 5 years ago
Emily Shaffer e0020b2f82 prefix_path: show gitdir when arg is outside repo 5 years ago
Alexandr Miloslavskiy 24e4750c96 pathspec: add new function to parse file 5 years ago
Nguyễn Thái Ngọc Duy f8adbec9fe cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch 6 years ago
Nguyễn Thái Ngọc Duy 22af33bece dir.c: move, rename and export match_attrs() 6 years ago
Nguyễn Thái Ngọc Duy d17ef3a94e pathspec.c: use the right index instead of the_index 6 years ago
Nguyễn Thái Ngọc Duy 6d2df284e7 dir.c: remove an implicit dependency on the_index in pathspec code 6 years ago
Johannes Schindelin c3c3486b24 Convert remaining die*(BUG) messages 7 years ago
Johannes Schindelin 033abf97fc Replace all die("BUG: ...") calls by BUG() ones 7 years ago
Jonathan Nieder 29c0e902a8 pathspec doc: parse_pathspec does not maintain references to args 7 years ago
Ville Skyttä 6412757514 Spelling fixes 8 years ago
Emily Xie 9e4e8a64c2 pathspec: die on empty strings as pathspec 8 years ago
Ævar Arnfjörð Bjarmason 6a83d90207 coccinelle: make use of the "type" FREE_AND_NULL() rule 8 years ago
Brandon Williams b2141fc1d2 config: don't include config.h by default 8 years ago
Brandon Williams 08de9151a8 pathspec: convert find_pathspecs_matching_against_index to take an index 8 years ago
Brandon Williams 2249d4dbc1 pathspec: remove PATHSPEC_STRIP_SUBMODULE_SLASH_CHEAP 8 years ago
Brandon Williams c08397e3aa pathspec: remove PATHSPEC_STRIP_SUBMODULE_SLASH_EXPENSIVE flag 8 years ago
Brandon Williams bdab972153 submodule: add die_in_unpopulated_submodule function 8 years ago
Brandon Williams 2c3b40799f pathspec: provide a more descriptive die message 8 years ago
Brandon Williams 5ce10c0a29 pathspec: fix segfault in clear_pathspec 8 years ago
Patrick Steinhardt be4dbbbed9 pathspec: honor `PATHSPEC_PREFIX_ORIGIN` with empty prefix 8 years ago
Brandon Williams c5af19f9ab pathspec: allow escaped query values 8 years ago
Brandon Williams b0db704652 pathspec: allow querying for attributes 8 years ago
Linus Torvalds 859b7f1d0e pathspec: don't error out on all-exclusionary pathspec patterns 8 years ago
Linus Torvalds 42ebeb9d07 pathspec magic: add '^' as alias for '!' 8 years ago
Stefan Beller 2d81c48fa7 pathspec: give better message for submodule related pathspec error 8 years ago
Brandon Williams 27ec42826e pathspec: rename prefix_pathspec to init_pathspec_item 8 years ago
Brandon Williams 4f1bf4d2b4 pathspec: small readability changes 8 years ago
Brandon Williams 5590215b13 pathspec: create strip submodule slash helpers 8 years ago
Brandon Williams 1b6112c527 pathspec: create parse_element_magic helper 8 years ago
Brandon Williams 8881fde013 pathspec: create parse_long_magic function 8 years ago
Brandon Williams b4bebdce83 pathspec: create parse_short_magic function 8 years ago
Brandon Williams db7e85988f pathspec: factor global magic into its own function 8 years ago
Brandon Williams 5d8f084a5d pathspec: simpler logic to prefix original pathspec elements 8 years ago
Brandon Williams 2aee5849c9 pathspec: always show mnemonic and name in unsupported_magic 8 years ago
Brandon Williams 93f3ddb2a1 pathspec: remove unused variable from unsupported_magic 8 years ago
Brandon Williams 8aee769fa1 pathspec: copy and free owned memory 8 years ago
Brandon Williams 34305f7753 pathspec: remove the deprecated get_pathspec function 8 years ago
René Scharfe 9ed0d8d6e6 use QSORT 8 years ago
René Scharfe 45ccef87b3 use COPY_ARRAY 8 years ago
Emily Xie d426430e6e pathspec: warn on empty strings as pathspec 9 years ago
Junio C Hamano ed6e8038f9 pathspec: rename free_pathspec() to clear_pathspec() 9 years ago
Jeff King b32fa95fd8 convert trivial cases to ALLOC_ARRAY 9 years ago
René Scharfe 51a60f5bfb use xcalloc() to allocate zero-initialized memory 11 years ago
René Scharfe 294b2680cd use strbuf_addch for adding single characters 11 years ago
Nguyễn Thái Ngọc Duy 429bb40abd pathspec: convert some match_pathspec_depth() to ce_path_match() 11 years ago
Nguyễn Thái Ngọc Duy 1649612a22 pathspec.c: support adding prefix magic to a pathspec with mnemonic magic 11 years ago