summaryrefslogtreecommitdiff
path: root/pathspec.c
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2013-11-13 00:17:42 +0900
committerJunio C Hamano <gitster@pobox.com>2013-11-12 09:24:27 -0800
commit382d20e3ebc69ad20f54e71fc5f6ca17baa23973 (patch)
tree233e1d1b4fbf6e766ad04f727fdcffbb12590242 /pathspec.c
parent0ecd94d7d728606e0047a44e60a277ff4e7b3990 (diff)
downloadgit-382d20e3ebc69ad20f54e71fc5f6ca17baa23973.tar.gz
typofixes: fix misspelt comments
Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pathspec.c')
-rw-r--r--pathspec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pathspec.c b/pathspec.c
index ad1a9f5b28..be962d47aa 100644
--- a/pathspec.c
+++ b/pathspec.c
@@ -193,11 +193,11 @@ static unsigned prefix_pathspec(struct pathspec_item *item,
magic |= short_magic;
*p_short_magic = short_magic;
- /* --noglob-pathspec adds :(literal) _unless_ :(glob) is specifed */
+ /* --noglob-pathspec adds :(literal) _unless_ :(glob) is specified */
if (noglob_global && !(magic & PATHSPEC_GLOB))
global_magic |= PATHSPEC_LITERAL;
- /* --glob-pathspec is overriden by :(literal) */
+ /* --glob-pathspec is overridden by :(literal) */
if ((global_magic & PATHSPEC_GLOB) && (magic & PATHSPEC_LITERAL))
global_magic &= ~PATHSPEC_GLOB;