summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-09-18 11:48:01 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-09-18 11:48:02 -0700
commit2f46b53957dec3aaca206c6590f5e7f538fabde2 (patch)
treed8c62444ad9673978bdc51037ad14a190588d85f
parentMerge branch 'bc/send-email-ssl-die-message-fix' (diff)
parentcvsserver: pick up the right mode bits (diff)
downloadtgif-2f46b53957dec3aaca206c6590f5e7f538fabde2.tar.xz
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
-rwxr-xr-xgit-cvsserver.perl2
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 = "";