diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-09-18 11:48:01 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-18 11:48:02 -0700 |
commit | 2f46b53957dec3aaca206c6590f5e7f538fabde2 (patch) | |
tree | d8c62444ad9673978bdc51037ad14a190588d85f /git-cvsserver.perl | |
parent | 139189b92eb178b6ad55cace9d37f42496b22427 (diff) | |
parent | 1b48d56cfb006baf12d34b5e3150ba2ec1900e08 (diff) | |
download | git-2f46b53957dec3aaca206c6590f5e7f538fabde2.tar.gz |
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
Diffstat (limited to 'git-cvsserver.perl')
-rwxr-xr-x | git-cvsserver.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-cvsserver.perl b/git-cvsserver.perl index a9f6f8ebd4..74d1cc7db0 100755 --- a/git-cvsserver.perl +++ b/git-cvsserver.perl @@ -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 = ""; |