Skip to content

Commit 062868c

Browse files
committed
Merge branch 'maint'
* maint: gitcvs-migration: Link to git-cvsimport documentation Fix off-by-one in read_tree_recursive
2 parents fe3420b + 3ac3cfb commit 062868c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Documentation/gitcvs-migration.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Importing a CVS archive
118118
First, install version 2.1 or higher of cvsps from
119119
link:http://www.cobite.com/cvsps/[http://www.cobite.com/cvsps/] and make
120120
sure it is in your path. Then cd to a checked out CVS working directory
121-
of the project you are interested in and run 'git-cvsimport':
121+
of the project you are interested in and run linkgit:git-cvsimport[1]:
122122

123123
-------------------------------------------
124124
$ git cvsimport -C <destination> <module>

tree.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ static int match_tree_entry(const char *base, int baselen, const char *path, uns
6262
continue;
6363
/* pathspecs match only at the directory boundaries */
6464
if (!matchlen ||
65+
baselen == matchlen ||
6566
base[matchlen] == '/' ||
6667
match[matchlen - 1] == '/')
6768
return 1;

0 commit comments

Comments
 (0)