1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-07 05:46:08 +02:00

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: Damien Diederen <dash@foobox.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Damien Diederen 2008-03-27 23:17:42 +01:00 committed by Junio C Hamano
parent 38bcd31a58
commit 23b7180fdc

View File

@ -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";