Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'jc/cvsserver-perm-bit-fix'

"git cvsserver" computed the permission mode bits incorrectly for
executable files.

* jc/cvsserver-perm-bit-fix:
  cvsserver: pick up the right mode bits
  • Loading branch information...
commit 2f46b53957dec3aaca206c6590f5e7f538fabde2 2 parents 139189b + 1b48d56
Junio C Hamano authored September 18, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  git-cvsserver.perl
2  git-cvsserver.perl
@@ -4167,7 +4167,7 @@ sub convertToDbMode
4167 4167
     #  this half-converted form, but it isn't currently worth the
4168 4168
     #  backwards compatibility headaches.
4169 4169
 
4170  
-    $mode=~/^\d\d(\d)\d{3}$/;
  4170
+    $mode=~/^\d{3}(\d)\d\d$/;
4171 4171
     my $userBits=$1;
4172 4172
 
4173 4173
     my $dbMode = "";

0 notes on commit 2f46b53

Please sign in to comment.
Something went wrong with that request. Please try again.