summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-10-17 15:45:57 -0700
committerJunio C Hamano <gitster@pobox.com>2013-10-17 15:45:58 -0700
commitda39d5e0bceaea51851658c0ed3ff0097b00ee0f (patch)
treeb1f83795b8ae2a8dc5edcc9a3914e100b7e1f1df
parentfa0963dac7f67a162bd04ebed29a18412545f481 (diff)
parent1b48d56cfb006baf12d34b5e3150ba2ec1900e08 (diff)
downloadgit-da39d5e0bceaea51851658c0ed3ff0097b00ee0f.tar.gz
Merge branch 'jc/cvsserver-perm-bit-fix' into maint
* 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 a0d796e570..67b1e7b463 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 = "";