diff options
author | Junio C Hamano <junkio@cox.net> | 2005-08-16 22:30:46 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-08-16 22:30:46 -0700 |
commit | 6680153441de6fbba07868d5f54af74d31a3ff13 (patch) | |
tree | 200df64306c16fb12a5068092d92237ba33cd7b9 /read-cache.c | |
parent | Merge with master changes. (diff) | |
parent | Teach applymbox to keep the Subject: line. (diff) | |
download | tgif-6680153441de6fbba07868d5f54af74d31a3ff13.tar.xz |
Merge with master to get diff fixes.
Diffstat (limited to 'read-cache.c')
-rw-r--r-- | read-cache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/read-cache.c b/read-cache.c index 5820f18d9a..ced597318e 100644 --- a/read-cache.c +++ b/read-cache.c @@ -191,6 +191,8 @@ int ce_path_match(const struct cache_entry *ce, const char **pathspec) return 1; if (name[matchlen] == '/' || !name[matchlen]) return 1; + if (!matchlen) + return 1; } return 0; } |