提交 23b7180f 编写于 作者: D Damien Diederen 提交者: Junio C Hamano

cvsserver: Only print the file part of the filename in status header

The "File:" header of CVS status output only includes the basename of
the file, even when generating a recursive listing; do the same.
Signed-off-by: NDamien Diederen <dash@foobox.net>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 38bcd31a
......@@ -1471,8 +1471,10 @@ sub req_status
$status ||= "Unknown";
my ($filepart) = filenamesplit($filename);
print "M ===================================================================\n";
print "M File: $filename\tStatus: $status\n";
print "M File: $filepart\tStatus: $status\n";
if ( defined($state->{entries}{$filename}{revision}) )
{
print "M Working revision:\t" . $state->{entries}{$filename}{revision} . "\n";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册