Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
cvsserver: Only print the file part of the filename in status header
author
Damien Diederen
<dash@foobox.net>
Thu, 27 Mar 2008 22:17:42 +0000
(23:17 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 27 Mar 2008 23:05:27 +0000
(16:05 -0700)
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>
git-cvsserver.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(from parent 1:
38bcd31
)
diff --git
a/git-cvsserver.perl
b/git-cvsserver.perl
index 2fe0a8a3cba6e559239ddf0b2c2d3a41148c0cad..444ec0db797dff8e99d9f619912154c6416925d2 100755
(executable)
--- a/
git-cvsserver.perl
+++ b/
git-cvsserver.perl
@@
-1471,8
+1471,10
@@
sub req_status
$status ||= "Unknown";
+ my ($filepart) = filenamesplit($filename);
+
print "M ===================================================================\n";
- print "M File: $file
name
\tStatus: $status\n";
+ print "M File: $file
part
\tStatus: $status\n";
if ( defined($state->{entries}{$filename}{revision}) )
{
print "M Working revision:\t" . $state->{entries}{$filename}{revision} . "\n";