Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
git
提交
5348b6e7
G
git
项目概览
李少辉-开发者
/
git
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
git
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5348b6e7
编写于
4月 25, 2006
作者:
J
Junio C Hamano
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
git-cvsserver: typofixes
Signed-off-by:
N
Junio C Hamano
<
junkio@cox.net
>
上级
e1cbc46d
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
8 deletion
+8
-8
git-cvsserver.perl
git-cvsserver.perl
+8
-8
未找到文件。
git-cvsserver.perl
浏览文件 @
5348b6e7
...
...
@@ -88,7 +88,7 @@
$
log
->
debug
(
"Temporary directory is '$TEMP_DIR'"
);
#
if
we
are
called
with
a
pserver
argument
,
#
deal
with
the
authentication
cat
before
enter
e
ing
the
#
deal
with
the
authentication
cat
before
entering
the
#
main
loop
if
(@
ARGV
&&
$
ARGV
[
0
]
eq
'pserver'
)
{
my
$
line
=
<
STDIN
>;
chomp
$
line
;
...
...
@@ -117,7 +117,7 @@
{
chomp
;
#
Check
to
see
if
we
've seen this method, and call appropiate function.
#
Check
to
see
if
we
've seen this method, and call approp
r
iate function.
if ( /^([\w-]+)(?:\s+(.*))?$/ and defined($methods->{$1}) )
{
# use the $methods hash to call the appropriate sub for this command
...
...
@@ -173,7 +173,7 @@ sub req_Root
my @gitvars = `git-repo-config -l`;
if ($?) {
print "
E
problems
executing
git
-
repo
-
config
on
the
server
--
this
is
not
a
git
repository
or
the
PATH
is
not
set
correcly
.\
n
";
print "
E
problems
executing
git
-
repo
-
config
on
the
server
--
this
is
not
a
git
repository
or
the
PATH
is
not
set
correc
t
ly
.\
n
";
print "
E
\
n
";
print "
error
1
-
problem
executing
git
-
repo
-
config
\
n
";
return 0;
...
...
@@ -224,7 +224,7 @@ sub req_Globaloption
sub req_Validresponses
{
my ( $cmd, $data ) = @_;
$log->debug("
req_Validre
ps
onses
:
$
data
");
$log->debug("
req_Validre
sp
onses
:
$
data
");
# TODO : re-enable this, currently it's not particularly useful
#$state->{validresponses} = [ split /\s+/, $data ];
...
...
@@ -733,7 +733,7 @@ sub req_update
argsplit("
update
");
#
# It may just be a client exploring the available heads/modu
k
les
# It may just be a client exploring the available heads/modules
# in that case, list them as top level directories and leave it
# at that. Eclipse uses this technique to offer you a list of
# projects (heads in this case) to checkout.
...
...
@@ -1731,7 +1731,7 @@ sub transmitfile
}
#
This
method
takes
a
file
name
,
and
returns
(
$
dirpart
,
$
filepart
)
which
#
refers
to
the
directory
por
i
tion
and
the
file
portion
of
the
filename
#
refers
to
the
directory
portion
and
the
file
portion
of
the
filename
#
respectively
sub
filenamesplit
{
...
...
@@ -1790,7 +1790,7 @@ =head1 METHODS
=
head2
new
Creates
a
new
log
object
,
optionally
you
can
specify
a
filename
here
to
indicate
the
file
to
log
to
.
If
no
log
file
is
specified
,
you
can
specif
i
y
one
indicate
the
file
to
log
to
.
If
no
log
file
is
specified
,
you
can
specify
one
later
with
method
setfile
,
or
indicate
you
no
longer
want
logging
with
method
nofile
.
...
...
@@ -2595,7 +2595,7 @@ sub in_array
=
head2
safe_pipe_capture
an
alterative
to
`
command
`
that
allows
input
to
be
passed
as
an
array
an
alter
n
ative
to
`
command
`
that
allows
input
to
be
passed
as
an
array
to
work
around
shell
problems
with
weird
characters
in
arguments
=
cut
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录