Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-09-10 01:50:42 +0400
committerJunio C Hamano <gitster@pobox.com>2013-09-10 01:50:44 +0400
commitfadf96abaa5f42c4bb7b4b5017926779c23d8ef3 (patch)
treec2999c9aafd8071d01cabfd16d152cd20e437e11 /pathspec.h
parentaf226bf01e99043f5f3d8bc09ad302d17e0de757 (diff)
parent625c3304e200f9bdc05626be1397311faa4962ba (diff)
Merge branch 'nd/magic-pathspec'
Use "struct pathspec" interface in more places, instead of array of characters, the latter of which cannot express magic pathspecs (e.g. ":(icase)makefile" that matches both Makefile and makefile). * nd/magic-pathspec: add: lift the pathspec magic restriction on "add -p" pathspec: catch prepending :(prefix) on pathspec with short magic
Diffstat (limited to 'pathspec.h')
-rw-r--r--pathspec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathspec.h b/pathspec.h
index 04b632fa33..944baeb622 100644
--- a/pathspec.h
+++ b/pathspec.h
@@ -14,7 +14,7 @@
PATHSPEC_GLOB | \
PATHSPEC_ICASE)
-#define PATHSPEC_ONESTAR 1 /* the pathspec pattern sastisfies GFNM_ONESTAR */
+#define PATHSPEC_ONESTAR 1 /* the pathspec pattern satisfies GFNM_ONESTAR */
struct pathspec {
const char **_raw; /* get_pathspec() result, not freed by free_pathspec() */