Permalink
Browse files

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...
2 parents 139189b + 1b48d56 commit 2f46b53957dec3aaca206c6590f5e7f538fabde2 @gitster gitster committed Sep 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-cvsserver.perl
View
@@ -4167,7 +4167,7 @@ sub convertToDbMode
# this half-converted form, but it isn't currently worth the
# backwards compatibility headaches.
- $mode=~/^\d\d(\d)\d{3}$/;
+ $mode=~/^\d{3}(\d)\d\d$/;
my $userBits=$1;
my $dbMode = "";

0 comments on commit 2f46b53

Please sign in to comment.