mirror of
https://github.com/git/git.git
synced 2024-10-30 13:57:54 +01:00
Merge branch 'maint'
* maint: gitcvs-migration: Link to git-cvsimport documentation Fix off-by-one in read_tree_recursive
This commit is contained in:
commit
062868cc00
2 changed files with 2 additions and 1 deletions
|
@ -118,7 +118,7 @@ Importing a CVS archive
|
|||
First, install version 2.1 or higher of cvsps from
|
||||
link:http://www.cobite.com/cvsps/[http://www.cobite.com/cvsps/] and make
|
||||
sure it is in your path. Then cd to a checked out CVS working directory
|
||||
of the project you are interested in and run 'git-cvsimport':
|
||||
of the project you are interested in and run linkgit:git-cvsimport[1]:
|
||||
|
||||
-------------------------------------------
|
||||
$ git cvsimport -C <destination> <module>
|
||||
|
|
1
tree.c
1
tree.c
|
@ -62,6 +62,7 @@ static int match_tree_entry(const char *base, int baselen, const char *path, uns
|
|||
continue;
|
||||
/* pathspecs match only at the directory boundaries */
|
||||
if (!matchlen ||
|
||||
baselen == matchlen ||
|
||||
base[matchlen] == '/' ||
|
||||
match[matchlen - 1] == '/')
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue