82 Commits (94a5c5d5b095299f0d693d7d82608a60b23692a4)

Author SHA1 Message Date
Jonathan Nieder 29c0e902a8 pathspec doc: parse_pathspec does not maintain references to args 8 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 9 years ago
René Scharfe 45ccef87b3 use COPY_ARRAY 9 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
Nguyễn Thái Ngọc Duy ef79b1f870 Support pathspec magic :(exclude) and its short form :! 11 years ago
Christian Couder 5955654823 replace {pre,suf}fixcmp() with {starts,ends}_with() 11 years ago
Masanari Iida 382d20e3eb typofixes: fix misspelt comments 11 years ago
Nguyễn Thái Ngọc Duy 4a2d5ae262 pathspec: stop --*-pathspecs impact on internal parse_pathspec() uses 11 years ago
Nguyễn Thái Ngọc Duy bc341c8b61 pathspec: catch prepending :(prefix) on pathspec with short magic 12 years ago
Nguyễn Thái Ngọc Duy 93d9353716 parse_pathspec: accept :(icase)path syntax 12 years ago
Nguyễn Thái Ngọc Duy bd30c2e484 pathspec: support :(glob) syntax 12 years ago
Nguyễn Thái Ngọc Duy a16bf9dd74 pathspec: make --literal-pathspecs disable pathspec magic 12 years ago
Nguyễn Thái Ngọc Duy 5c6933d201 pathspec: support :(literal) syntax for noglob pathspec 12 years ago
Nguyễn Thái Ngọc Duy 341003e715 kill limit_pathspec_to_literal() as it's only used by parse_pathspec() 12 years ago
Nguyễn Thái Ngọc Duy 233c3e6c59 parse_pathspec: preserve prefix length via PATHSPEC_PREFIX_ORIGIN 12 years ago
Nguyễn Thái Ngọc Duy 645a29c40a parse_pathspec: make sure the prefix part is wildcard-free 12 years ago